Bug #30852
closedMultilingual search in translated pages: Results of default language always linking to current language
100%
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
Updated by Oliver Hader over 11 years ago
- Project changed from 1382 to TYPO3 Core
Updated by Mathias Schreiber almost 10 years ago
- Status changed from New to Accepted
- Target version set to 7.5
- TYPO3 Version set to 4.5
- Is Regression set to No
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 8 LTS
Updated by Gerrit Code Review over 8 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47476
Updated by Gerrit Code Review over 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47482
Updated by Gerrit Code Review over 8 years ago
Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47482
Updated by Tymoteusz Motylewski over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b6c8bb04cb8aeb518a789bac1088c7697c6484c6.
Updated by Ian Solo about 8 years ago
This change adds "L=0" also to results in default language and this consequently messes with Realurl cache.
Updated by Jan Rödig over 7 years ago
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!
Updated by Mona Muzaffar about 7 years ago
- Related to Bug #81164: Indexed Search appends ?L=0 to URLs of search results added
Updated by Mona Muzaffar about 7 years ago
- Related to Bug #81986: indexed_search generates duplicated results for same page added
Updated by Mona Muzaffar about 7 years ago
- Related to Bug #81994: Indexed Search Bugfix #30852 messes with Realurl cache added
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed