Bug #38548

Incorrect search-results when searching for part of word

Added by Mats Svensson 11 months ago. Updated about 1 month ago.

Status:New Start date:2012-07-02
Priority:Must have Due date:
Assignee:- % Done:

0%

Category:indexed search
Target version:-
TYPO3 Version: Complexity:
PHP Version:
Votes: 2 (View)

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) ? '%' : '';

History

Updated by Andreas Kiessling 10 months ago

I confirm this bug. It is in in both classes: tx_indexedsearch and Tx_IndexedSearch_Domain_Repository_IndexSearchRepository

Updated by Gerrit Code Review 10 months ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13215

Updated by Gerrit Code Review 10 months ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/13486

Updated by Oliver Hader about 1 month ago

  • Target version set to (temporary)

Updated by Oliver Hader about 1 month ago

  • Project changed from Indexed Search to Core

Updated by Oliver Hader about 1 month ago

  • Category set to indexed search

Updated by Oliver Hader about 1 month ago

  • Target version deleted ((temporary))

Also available in: Atom PDF