[mapserver-commits] r10421 - branches/branch-5-6/mapserver

svn at osgeo.org svn at osgeo.org
Thu Jul 29 18:22:58 EDT 2010


Author: sdlime
Date: 2010-07-29 22:22:57 +0000 (Thu, 29 Jul 2010)
New Revision: 10421

Modified:
   branches/branch-5-6/mapserver/mapserv.c
Log:
Fixed query type for index queries in the CGI.

Modified: branches/branch-5-6/mapserver/mapserv.c
===================================================================
--- branches/branch-5-6/mapserver/mapserv.c	2010-07-29 22:21:44 UTC (rev 10420)
+++ branches/branch-5-6/mapserver/mapserv.c	2010-07-29 22:22:57 UTC (rev 10421)
@@ -1794,7 +1794,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