Bug #30852

Multilingual search in translated pages: Results of default language always linking to current language

Added by Florian Busch (floxx) almost 10 years ago. Updated almost 4 years ago.

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

bug_indexed_search.diff (608 Bytes) bug_indexed_search.diff Florian Busch (floxx), 2011-10-12 17:13

Related issues

Related to TYPO3 Core - Bug #81164: Indexed Search appends ?L=0 to URLs of search resultsClosed2017-05-07

Actions
Related to TYPO3 Core - Bug #81986: indexed_search generates duplicated results for same pageNew2017-07-27

Actions
Related to TYPO3 Core - Bug #81994: Indexed Search Bugfix #30852 messes with Realurl cacheClosed2017-07-28

Actions
Is duplicate of TYPO3 Core - Bug #19723: Default language not always honored in result list (has patch)Closed2008-12-19

Actions

Also available in: Atom PDF