pimcore

Searchadmin: Search Part of Words

Details

Description

The line 32 in SortController is wrong, because the syntax of MySQL MATCH() AGAINST() dows not use the "%" symbol, but "*".

Activity

Hide
Bernhard Rusch added a comment - 25/Jan/12 9:28 PM
I think you mean:
$query = str_replace("%", "*", $query);

But this replaces the % with * because many users use the % instead of the * that's why we offer both methods.

Or did I get something wrong?
Show
Bernhard Rusch added a comment - 25/Jan/12 9:28 PM I think you mean: $query = str_replace("%", "*", $query); But this replaces the % with * because many users use the % instead of the * that's why we offer both methods. Or did I get something wrong?
Hide
Andreas Frick added a comment - 28/Jan/12 11:10 AM
In the Code is This: $query = str_replace("*", "%", $query) Build 1500
Show
Andreas Frick added a comment - 28/Jan/12 11:10 AM In the Code is This: $query = str_replace("*", "%", $query) Build 1500
Hide
Bernhard Rusch added a comment - 28/Jan/12 11:32 AM
Ok, then it is already ixed ;-)
Show
Bernhard Rusch added a comment - 28/Jan/12 11:32 AM Ok, then it is already ixed ;-)

People

Vote (0)
Watch (0)

Dates

  • Created:
    24/Jan/12 2:31 PM
    Updated:
    28/Jan/12 11:32 AM
    Resolved:
    25/Jan/12 9:28 PM