Bug #80840
closedEpic #65814: Make Indexed search extbase plugin shine
EXT:indexed_search FLUID based in V8.7.0 does not respect language value in {searchParams.languageUid} in search form from config.sys_language_uid
100%
Description
The search param value of {searchParams.languageUid} in the form of EXT:indexed_search gets ignored by the setup TS configuration if used with multiple languages. The value of this is always -1 instead of the definied language ID.
Our configuration / TS setup
- DEUTSCH
- -------
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
[global]
- FRENCH
- -------
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = fr
config.locale_all = fr_FR
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
[global]
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang < config.sys_language_uid
FLUID Template /Form.html of EXT:indexed_search in V8.7.0
<f:form action="search" method="post" id="tx_indexedsearch" pageUid="{settings.targetPid}">
<f:form.hidden name="search[_sections]" value="0" />
<f:form.hidden name="search[_freeIndexUid]" id="tx_indexedsearch_freeIndexUid" value="_" />
<f:form.hidden name="search[pointer]" id="tx_indexedsearch_pointer" value="0" />
<f:form.hidden name="search[ext]" value="{searchParams.ext}" />
<f:form.hidden name="search[searchType]" value="{searchParams.searchType}" />
<f:form.hidden name="search[defaultOperand]" value="{searchParams.defaultOperand}" />
<f:form.hidden name="search[mediaType]" value="{searchParams.mediaType}" />
<f:form.hidden name="search[sortOrder]" value="{searchParams.sortOrder}" />
<f:form.hidden name="search[group]" value="{searchParams.group}" />
<f:form.hidden name="search[languageUid]" value="{searchParams.languageUid}" />
<f:form.hidden name="search[desc]" value="{searchParams.desc}" />
<f:form.hidden name="search[numberOfResults]" value="{searchParams.numberOfResults}" />
<f:form.hidden name="search[extendedSearch]" value="{searchParams.extendedSearch}" />
</f:form>
Files