svn commit: r799 - trunk/mapbender/http/php/mod_editElementVars.php

christoph at osgeo.org christoph at osgeo.org
Wed Oct 18 10:09:12 EDT 2006


Author: christoph
Date: 2006-10-18 14:09:12+0000
New Revision: 799

Modified:
   trunk/mapbender/http/php/mod_editElementVars.php

Log:
order by var_name

Modified: trunk/mapbender/http/php/mod_editElementVars.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_editElementVars.php?view=diff&rev=799&p1=trunk/mapbender/http/php/mod_editElementVars.php&p2=trunk/mapbender/http/php/mod_editElementVars.php&r1=798&r2=799
==============================================================================
--- trunk/mapbender/http/php/mod_editElementVars.php	(original)
+++ trunk/mapbender/http/php/mod_editElementVars.php	2006-10-18 14:09:12+0000
@@ -185,7 +185,7 @@
    echo "<input type='button' class='' name='' value='return' onclick=\"".$href."\"> \n";
    echo "</div>\n";
 
-	$sql = "SELECT * FROM gui_element_vars WHERE fkey_gui_id = $1 AND fkey_e_id = $2";
+	$sql = "SELECT * FROM gui_element_vars WHERE fkey_gui_id = $1 AND fkey_e_id = $2 ORDER BY var_name";
 	$v = array($fkey_gui_id,$fkey_e_id);
 	$t = array('s','s');
 	$res = db_prep_query($sql,$v,$t);




More information about the Mapbender_commits mailing list