Actions
Bug #17520
closedSearch result pagination fails with <base href="sitename"> and IE6
Start date:
2007-08-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
When I use the <base href="sitename"> tag IE6 confilts with indexed_search pagination in search results. The href="#" in the pagination makes the links go to the website base and not to the next search result page. FF 2.0.0.6 doesn't have this problem though.
On line 1336 of pi/class.tx_indexedsearch.php it says:
return '<a href="#" onclick="'.htmlspecialchars($onclick).'">'.$str.'</a>';
When I change this to:
return '<a href="' .
htmlspecialchars($this->pi_getPageLink($GLOBALS['TSFE']->id,
$GLOBALS['TSFE']->sPre)) .'#"
onclick="'.htmlspecialchars($onclick).'">'.$str.'</a>';
all works well again.
Hope this helps!
regards,
Rik Willems
(issue imported from #M6123)
Actions