[Mapbender-commits] r10064 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Feb 22 02:15:24 PST 2019


Author: armin11
Date: 2019-02-22 02:15:24 -0800 (Fri, 22 Feb 2019)
New Revision: 10064

Modified:
   trunk/mapbender/http/classes/class_metadata.php
Log:
Alter search interface for wmc to search in materialized view - not in the view itself! The materialized view should exists!

Modified: trunk/mapbender/http/classes/class_metadata.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata.php	2019-02-22 08:46:59 UTC (rev 10063)
+++ trunk/mapbender/http/classes/class_metadata.php	2019-02-22 10:15:24 UTC (rev 10064)
@@ -300,7 +300,8 @@
 				$this->generateWMSMetadata($this->wmsDoc);
 			}
 			if (isset($this->searchResources) & strtolower($this->searchResources) === "wmc") {
-				$this->searchView = 'search_wmc_view';
+				//$this->searchView = 'search_wmc_view';
+				$this->searchView = 'wmc_search_table';
 				$this->databaseIdColumnName = 'wmc_serial_id';
 				$this->databaseTableName = 'wmc';
 				//the following is needed to give a special filter to the custom cat table!



More information about the Mapbender_commits mailing list