Actions
Bug #30852
closedMultilingual search in translated pages: Results of default language always linking to current language
Start date:
2011-10-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If indexed_search is configured to list search results from all languages on one page...
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang >
...and you're searching on translated page (with i.e. &L=1 as param) every result from default language links to current linkVar (in this case &L=1).
That's because function linkPage() from class.tx_indexedsearch.php calls pi_linkToPage() without linkVars if result is from default language. So the current linkVar will be appended in function linkData() of class.t3lib_tstemplate.php which results in defaul language result, linking to current, translated language.
Diff appended.
Files
Actions