[mapguide-commits] r6083 - trunk/Tools/Maestro/Maestro.Editors/Common

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Aug 18 02:27:36 EDT 2011


Author: jng
Date: 2011-08-17 23:27:36 -0700 (Wed, 17 Aug 2011)
New Revision: 6083

Modified:
   trunk/Tools/Maestro/Maestro.Editors/Common/ResourcePicker.cs
Log:
Fix resource picker item display issue due to bad choice of sort key

Modified: trunk/Tools/Maestro/Maestro.Editors/Common/ResourcePicker.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Editors/Common/ResourcePicker.cs	2011-08-17 03:27:44 UTC (rev 6082)
+++ trunk/Tools/Maestro/Maestro.Editors/Common/ResourcePicker.cs	2011-08-18 06:27:36 UTC (rev 6083)
@@ -334,7 +334,10 @@
             {
                 var doc = item as ResourceListResourceDocument;
                 if (doc != null)
-                    items.Add(doc.Name, doc);
+                {
+                    string sortKey = doc.Name + "." + doc.ResourceType;
+                    items.Add(sortKey, doc);
+                }
             }
             foreach (var doc in items.Values)
             {



More information about the mapguide-commits mailing list