Project

General

Profile

Actions

Bug #38548

closed

Incorrect search-results when searching for part of word

Added by Mats Svensson almost 12 years ago. Updated over 9 years ago.

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 #1

Updated by Andreas Kiessling almost 12 years ago

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

Actions #2

Updated by Gerrit Code Review almost 12 years ago

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

Actions #3

Updated by Gerrit Code Review over 11 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

Actions #4

Updated by Oliver Hader about 11 years ago

  • Target version set to 2222
Actions #5

Updated by Oliver Hader about 11 years ago

  • Project changed from 1382 to TYPO3 Core
Actions #6

Updated by Oliver Hader about 11 years ago

  • Category set to Indexed Search
Actions #7

Updated by Oliver Hader about 11 years ago

  • Target version deleted (2222)
Actions #8

Updated by Alexander Opitz over 9 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.

Actions

Also available in: Atom PDF