[BUGFIX] Use current site language in indexed search by default 82/62382/2
authorBenni Mack <benni@typo3.org>
Fri, 22 Nov 2019 16:13:31 +0000 (17:13 +0100)
committerSusanne Moog <look@susi.dev>
Tue, 26 Nov 2019 07:00:52 +0000 (08:00 +0100)
commitb2e47de4c9cbc7930682f48df988743e57d88a5c
tree763da553f54b5dbbf9215d1ee54a6e7614967465
parentce6fdfad95bbeaf501d4dfb6607c2e1066496f0c
[BUGFIX] Use current site language in indexed search by default

Using Indexed Search plugin, one can customize the language selector,
however, you needed a TypoScript condition, as Site Handling support
was not possible yet.

The default behaviour should be to only search in the selected language,
which can be achieved by looking into the current language.

The default option is now set to "current". Existing implementations
still using conditions continue to keep working.

Resolves: #80840
Releases: master, 9.5
Change-Id: I7772e40d11593331cddf8fc90c8630f0a4db1758
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62382
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Daniel Gorges <daniel.gorges@b13.com>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Daniel Gorges <daniel.gorges@b13.com>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/indexed_search/Configuration/TypoScript/setup.typoscript