Bug #30852
closed
Multilingual search in translated pages: Results of default language always linking to current language
Added by Florian Busch (floxx) almost 13 years ago.
Updated over 6 years ago.
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
- Target version set to 2222
- Project changed from 1382 to TYPO3 Core
- Category set to Indexed Search
- Target version deleted (
2222)
- Status changed from New to Accepted
- Target version set to 7.5
- TYPO3 Version set to 4.5
- Is Regression set to No
- Target version changed from 7.5 to 8 LTS
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
This change adds "L=0" also to results in default language and this consequently messes with Realurl cache.
Christian Toffolo wrote:
This change adds "L=0" also to results in default language and this consequently messes with Realurl cache.
This. Would be ace to have a typoscript config option to turn this off!
- Related to Bug #81164: Indexed Search appends ?L=0 to URLs of search results added
- Related to Bug #81986: indexed_search generates duplicated results for same page added
- Related to Bug #81994: Indexed Search Bugfix #30852 messes with Realurl cache added
- Status changed from Resolved to Closed
Also available in: Atom
PDF