Bug #17662

"Fresh" search form shows noresults.

Added by Ulrich Fischer over 5 years ago. Updated 20 days ago.

Status:Needs Feedback Start date:2007-10-09
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:indexed search
Target version:-
TYPO3 Version:4.1 Complexity:
PHP Version:
Votes: 0

Description

"Fresh" search form shows noresults, even there are no swords.

I think the problem can be solved:
class.tx_indexedsearch.php 2158 2007-02-27 13:49:53Z
line 182-183
ORIGINAL:
// Do search:
// If there were any search words entered...
if (is_array($this->sWArr) ) {

SOLUTION:
// Do search:
// If there were any search words entered...
if (is_array($this->sWArr) && !empty($this->sWArr)) {

$this->sWArr seems to be an array, even it is empty.

(issue imported from #M6480)

History

Updated by Alexander Opitz 20 days ago

  • Category changed from Default to indexed search
  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.1

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Also available in: Atom PDF