Bug #17520

Search result pagination fails with <base href="sitename"> and IE6

Added by Rik Willems about 12 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Category:
Indexed Search
Target version:
-
Start date:
2007-08-10
Due date:
% Done:

0%

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)

History

#1 Updated by Dmitry Dulepov over 9 years ago

Could not find that string in the code. I assume it is not relevant anymore.

#2 Updated by Benni Mack 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF