Project

General

Profile

Actions

Bug #17597

closed

Hook for "getSearchWords" checks for a method "getSearchWords" in hook class, but does not use this method.

Added by Sebastian Fuchs about 17 years ago. Updated about 11 years ago.

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

0%

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

Description

In class.tx_indexedsearch.php in the method getSearchWords is a Hook definied called "getSearchWords" (line421).
On creation of the hook object there is a check if the method "getSearchWords" is available in the hook class.
Later there is not a call to the checked method, but to "getSearchWords_splitSWords".
This is no bug, but inconsistent.

line 422 should not be:
return $hookObj->getSearchWords_splitSWords($inSW, $defOp);
but:
return $hookObj->getSearchWords($inSW, $defOp);

sorry that i dont have any diff patch.
(issue imported from #M6333)

Actions

Also available in: Atom PDF