[Mapbender-commits] r9517 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jun 9 02:22:26 PDT 2016


Author: armin11
Date: 2016-06-09 02:22:26 -0700 (Thu, 09 Jun 2016)
New Revision: 9517

Modified:
   trunk/mapbender/http/plugins/mb_metadata_server.php
Log:
Bugfix

Modified: trunk/mapbender/http/plugins/mb_metadata_server.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_server.php	2016-06-09 09:15:49 UTC (rev 9516)
+++ trunk/mapbender/http/plugins/mb_metadata_server.php	2016-06-09 09:22:26 UTC (rev 9517)
@@ -1430,7 +1430,7 @@
 		break;
 	case "getOwnedMetadata" :
 		$user = new User(Mapbender::session()->get("mb_user_id"));
-		$sql = "SELECT metadata_id, title FROM mb_metadata WHERE fkey_mb_user_id = $1";
+		$sql = "SELECT metadata_id, title FROM mb_metadata WHERE fkey_mb_user_id = $1 ORDER BY metadata_id DESC";
 		$v = array($user->id);
 		$t = array('i');
 		$res = db_prep_query($sql,$v,$t);



More information about the Mapbender_commits mailing list