[mapguide-commits] r4359 -
trunk/MgDev/Common/MapGuideCommon/MapLayer
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Nov 25 22:30:06 EST 2009
Author: christinebao
Date: 2009-11-25 22:30:05 -0500 (Wed, 25 Nov 2009)
New Revision: 4359
Modified:
trunk/MgDev/Common/MapGuideCommon/MapLayer/Layer.cpp
Log:
Fix ticket http://trac.osgeo.org/fusion/ticket/327
Query: The matched objects excluded by layer filter are listed in Query result.
MgMap::Open(resourceService, mapName) needs to serialize/deserialize, so m_filter should be serialized/deserialized in MgLayer?, otherwise browser can't get the value.
Modified: trunk/MgDev/Common/MapGuideCommon/MapLayer/Layer.cpp
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/MapLayer/Layer.cpp 2009-11-25 20:01:54 UTC (rev 4358)
+++ trunk/MgDev/Common/MapGuideCommon/MapLayer/Layer.cpp 2009-11-26 03:30:05 UTC (rev 4359)
@@ -178,6 +178,7 @@
}
helper->WriteString(m_featureSourceId);
helper->WriteString(m_featureName);
+ helper->WriteString(m_filter);
helper->WriteString(m_schemaName);
helper->WriteString(m_geometry);
@@ -227,6 +228,7 @@
helper->GetString(m_featureSourceId);
helper->GetString(m_featureName);
+ helper->GetString(m_filter);
helper->GetString(m_schemaName);
helper->GetString(m_geometry);
More information about the mapguide-commits
mailing list