Actions
Bug #38548
closedIncorrect search-results when searching for part of word
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2012-07-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
In function searchWord the self:: is missing for the 2 constants in rows 906 and 907.
$wildcard_left = ($mode & WILDCARD_LEFT) ? '%' : '';
$wildcard_right = ($mode & WILDCARD_RIGHT) ? '%' : '';
should be
$wildcard_left = ($mode & self::WILDCARD_LEFT) ? '%' : '';
$wildcard_right = ($mode & self::WILDCARD_RIGHT) ? '%' : '';
Actions