Bug #30852

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

Added by Florian Busch (floxx) over 1 year ago. Updated 3 months ago.

Status:New Start date:2011-10-12
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:indexed search
Target version:-
TYPO3 Version: Complexity:
PHP Version:
Votes: 0

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.

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


Related issues

duplicates Core - Bug #19723: Default language not always honored in result list (has p... New 2008-12-19

History

Updated by Oliver Hader 3 months ago

  • Target version set to 2222

Updated by Oliver Hader 3 months ago

  • Project changed from Indexed Search to Core

Updated by Oliver Hader 3 months ago

  • Category set to indexed search

Updated by Oliver Hader 3 months ago

  • Target version deleted (2222)

Also available in: Atom PDF