[Mapbender-commits] r5502 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Feb 15 11:35:36 EST 2010


Author: kmq
Date: 2010-02-15 11:35:35 -0500 (Mon, 15 Feb 2010)
New Revision: 5502

Modified:
   trunk/mapbender/http/javascripts/map.php
Log:
Module inclusion order changed to be the same as their containing elements 

Modified: trunk/mapbender/http/javascripts/map.php
===================================================================
--- trunk/mapbender/http/javascripts/map.php	2010-02-15 14:10:29 UTC (rev 5501)
+++ trunk/mapbender/http/javascripts/map.php	2010-02-15 16:35:35 UTC (rev 5502)
@@ -110,7 +110,7 @@
 //
 // Load JavaScript modules of GUI elements
 //
-$sql = "SELECT DISTINCT e_mb_mod FROM gui_element WHERE e_public = 1 AND fkey_gui_id = $1";
+$sql = "SELECT DISTINCT e_mb_mod, e_id, e_pos FROM gui_element WHERE e_public = 1 AND fkey_gui_id = $1 ORDER BY e_pos ";
 $v = array($gui_id);
 $t = array('s');
 $res = db_prep_query($sql, $v, $t);



More information about the Mapbender_commits mailing list