[mapserver-commits] r10420 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Jul 29 18:21:45 EDT 2010


Author: sdlime
Date: 2010-07-29 22:21:44 +0000 (Thu, 29 Jul 2010)
New Revision: 10420

Modified:
   trunk/mapserver/mapserv.c
Log:
Fixed query type for index queries in the CGI.

Modified: trunk/mapserver/mapserv.c
===================================================================
--- trunk/mapserver/mapserv.c	2010-07-29 20:44:25 UTC (rev 10419)
+++ trunk/mapserver/mapserv.c	2010-07-29 22:21:44 UTC (rev 10420)
@@ -1790,7 +1790,7 @@
           break;
         case INDEXQUERY:
         case INDEXQUERYMAP:
-          mapserv->map->query.type = MS_QUERY_BY_POINT;
+          mapserv->map->query.type = MS_QUERY_BY_INDEX;
           mapserv->map->query.mode = MS_QUERY_SINGLE;
           mapserv->map->query.layer = QueryLayerIndex;
           mapserv->map->query.shapeindex = ShapeIndex;



More information about the mapserver-commits mailing list