Project

General

Profile

Actions

Bug #80840

closed

Epic #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

Added by Angelo Previtali about 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Start date:
2017-04-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

  1. DEUTSCH
  2. -------
    [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]
  1. FRENCH
  2. -------
    [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>

HTML output from indexed_search


Files

form.png (93.3 KB) form.png HTML output from indexed_search Angelo Previtali, 2017-04-13 12:46
Actions

Also available in: Atom PDF