Project

General

Profile

Actions

Bug #17520

closed

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

Added by Rik Willems over 17 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Indexed Search
Target version:
-
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 #1

Updated by Dmitry Dulepov over 14 years ago

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

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF