[Mapbender-commits] r1105 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Feb 8 10:29:53 EST 2007


Author: christoph
Date: 2007-02-08 10:29:41 -0500 (Thu, 08 Feb 2007)
New Revision: 1105

Modified:
   trunk/mapbender/http/php/mod_wfs_gazetteer.php
Log:
changed sort order to "pos"

Modified: trunk/mapbender/http/php/mod_wfs_gazetteer.php
===================================================================
--- trunk/mapbender/http/php/mod_wfs_gazetteer.php	2007-02-08 15:28:19 UTC (rev 1104)
+++ trunk/mapbender/http/php/mod_wfs_gazetteer.php	2007-02-08 15:29:41 UTC (rev 1105)
@@ -138,7 +138,7 @@
 	  $sql = "SELECT * FROM wfs_conf_element ";
 	  $sql .= "JOIN wfs_element ON wfs_conf_element.f_id = wfs_element.element_id ";
 	  $sql .= "WHERE wfs_conf_element.fkey_wfs_conf_id = $1 ";
-	  $sql .= "AND wfs_conf_element.f_search = 1 ORDER BY wfs_conf_element.f_search;";
+	  $sql .= "AND wfs_conf_element.f_search = 1 ORDER BY wfs_conf_element.f_pos;";
 	
 	  $v1 = array($_REQUEST["wfs_conf"]);
 	  $t = array('i');
@@ -203,7 +203,7 @@
 	  $sql = "SELECT * FROM wfs_conf_element ";
 	  $sql .= "JOIN wfs_element ON wfs_conf_element.f_id = wfs_element.element_id ";
 	  $sql .= "WHERE wfs_conf_element.fkey_wfs_conf_id = $1 ";
-	  $sql .= "AND wfs_conf_element.f_search = 1 ORDER BY wfs_conf_element.f_search;";
+	  $sql .= "AND wfs_conf_element.f_search = 1 ORDER BY wfs_conf_element.f_pos;";
 	
 	  #$v1 = array($_REQUEST["wfs_conf"]);
 	  $t = array('i');
@@ -288,7 +288,7 @@
    $sql = "SELECT * FROM wfs_conf_element ";
    $sql .= "JOIN wfs_element ON wfs_conf_element.f_id = wfs_element.element_id ";
    $sql .= "WHERE wfs_conf_element.fkey_wfs_conf_id = $1 ";
-   $sql .= "AND wfs_conf_element.f_search = 1 ORDER BY wfs_conf_element.f_search;";
+   $sql .= "AND wfs_conf_element.f_search = 1 ORDER BY wfs_conf_element.f_pos;";
 
    $v = array($_REQUEST["wfs_conf"]);
    $t = array('i');



More information about the Mapbender_commits mailing list