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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Oct 29 04:02:21 PDT 2018


Author: armin11
Date: 2018-10-29 04:02:21 -0700 (Mon, 29 Oct 2018)
New Revision: 9985

Modified:
   trunk/mapbender/http/classes/class_metadata.php
Log:
Fix for missing and filter in catalogue search

Modified: trunk/mapbender/http/classes/class_metadata.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata.php	2018-10-26 10:25:57 UTC (rev 9984)
+++ trunk/mapbender/http/classes/class_metadata.php	2018-10-29 11:02:21 UTC (rev 9985)
@@ -1615,7 +1615,7 @@
 						$sqlCat[$i] .= $this->resourceClassifications[$i]['tablename']."_code_".$this->languageCode." ORDER BY ";
 						$sqlCat[$i] .= $this->resourceClassifications[$i]['tablename']."_id";
 						$sqlCategory = $sqlCat[$i];
-
+						$sqlCategory = str_replace("WHERE  AND","WHERE",$sqlCategory);
 						//call sql for count of category
 						$res = db_prep_query($sqlCategory, $v, $t);
 						$e = new mb_notice("class_metadata: countCatsql: ".$sqlCategory);



More information about the Mapbender_commits mailing list