[Mapbender-commits] r10187 - trunk/mapbender/http/geoportal
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Jul 29 04:32:16 PDT 2019
Author: armin11
Date: 2019-07-29 04:32:16 -0700 (Mon, 29 Jul 2019)
New Revision: 10187
Modified:
trunk/mapbender/http/geoportal/mod_getCatalogueKeywordSuggestion.php
Log:
Fix search keyword suggestion list
Modified: trunk/mapbender/http/geoportal/mod_getCatalogueKeywordSuggestion.php
===================================================================
--- trunk/mapbender/http/geoportal/mod_getCatalogueKeywordSuggestion.php 2019-07-24 12:53:33 UTC (rev 10186)
+++ trunk/mapbender/http/geoportal/mod_getCatalogueKeywordSuggestion.php 2019-07-29 11:32:16 UTC (rev 10187)
@@ -65,7 +65,7 @@
$lengthOfSearchtext = count($searchText);
$lengthOfKeyword = count($row['keyword']);
- $resultList[$i]['keywordHigh'] = trim(substr($row['keyword'], 0, $posOfString)."<b>".substr($row['keyword'], $posOfString, $lengthOfSearchtext+1)."</b>".substr($row['keyword'], ($posOfString + $lengthOfSearchtext)));
+ $resultList[$i]['keywordHigh'] = trim(substr($row['keyword'], 0, $posOfString)."<b>".substr($row['keyword'], $posOfString, $lengthOfSearchtext+1)."</b>".substr($row['keyword'], ($posOfString + $lengthOfSearchtext + 1)));
//$resultList[$i]['keywordHigh'] = str_replace($searchText, "<b>".$searchText."</b>", $row['keyword']);
$i++;
}
More information about the Mapbender_commits
mailing list