Bug #14213
closedIndexed Search cuts the first letter of domain name in searchresult
0%
Description
Indexed Search supports searching over multiple domains in an installation of TYPO3. While generating the searchresult , Indexed Search cuts the first character of the section headers, because this are only slashes in a single-domain environment. But even if the section header starts with www.* because of the multi-domain feature, the first character ist cut off and the section ist named "ww.searchresult.org" or similar. I wrote a simple patch which checks for the slash an lets the first character untouched if it's anything else.
(issue imported from #M177)
Files
Updated by Michael Stucki over 20 years ago
According to Ingmar the notation with the brackets is obsolete. Use curly brackets instead:
$sectionName = $this->getPathFromPageId($theId);
if ($sectionName{0} == '/') $sectionName = substr($sectionName,1);
Updated by Marco Geweke over 19 years ago
The problem is still not fixed in the new indexed_search of 3.8.0.
Updated by Michael Stucki over 19 years ago
Yeah I had this patched locally but didn't know why, that's why I removed the patch before submitting changes...
I'll do that.