Issue Bug Closed

#16901SubSearch is not working

Martin Kästner 01/25/07, 17:39 updated 09/05/13, 09:22

Description

Typo3 4.0.4
indexed_search 2.9.3

When I activate the subsearch with:

show {
clearSearchBox = 1
clearSearchBox.enableSubSearchCheckBox = 1
}

then the entered keywords are not added even with the checkbox activated.

I think this is because the Line 1318 ff. in class.tx_indexedsearch.php

// Additonal keyword => “Add to current search words“
if ($this->conf[‘show.’][‘clearSearchBox’] && $this->conf[‘show.’][‘clearSearchBox.’][‘enableSubSearchCheckBox’]) {
$markerArray[‘###SWORD_PREV_VALUE###’] = htmlspecialchars($this->conf[‘show.’][‘clearSearchBox’] ? ‘’ : $this->piVars[‘sword’]);

If both options are active then “SWORD_PREV_VALUE” is always empty. This line can not do anything else …

(issue imported from #M4862)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.