Bug #38548

Incorrect search-results when searching for part of word

Added by Mats Svensson almost 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2012-07-02
Due date:
% Done:

0%

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

History

#1 Updated by Andreas Kiessling almost 6 years ago

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

#2 Updated by Gerrit Code Review over 5 years ago

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

#3 Updated by Gerrit Code Review over 5 years 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

#4 Updated by Oliver Hader about 5 years ago

  • Target version set to 2222

#5 Updated by Oliver Hader about 5 years ago

  • Project changed from Indexed Search to TYPO3 Core

#6 Updated by Oliver Hader about 5 years ago

  • Category set to Indexed Search

#7 Updated by Oliver Hader about 5 years ago

  • Target version deleted (2222)

#8 Updated by Alexander Opitz over 3 years ago

  • Status changed from New to Closed
  • TYPO3 Version set to 4.5
  • Is Regression set to No

Patch was merged long ago. Andreas told me that this is fixed, so closing issue.

Also available in: Atom PDF