Project

General

Profile

Actions

Bug #16901

closed

SubSearch is not working

Added by Martin Kästner almost 18 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2007-01-25
Due date:
% Done:

0%

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

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)

Actions

Also available in: Atom PDF