- Affected version
- 2.0.10
The Finder based search for users/threads implements a "applySpecialCriteriaValue" which translates the custom field matching into finder/SQL expressions.
This is compiled as
This is obviously unexpectedly inconsistent and makes SQL_based search return unexpected results, as criteria is AND'ed together. Except for custom field values.
This is compiled as
$finder->whereOr()
meaning at least 1 custom field must match, compared to notice/user promotion criteria which apply each custom field criteria to the user/thread (ie AND).This is obviously unexpectedly inconsistent and makes SQL_based search return unexpected results, as criteria is AND'ed together. Except for custom field values.