Search for "between 0 and 1" with com_finder search function
Search for "test ,something and something else"
Result page
Error: Attempt to modify property "matches" on null
Joomla 5.2.2
Issue is when 0 is combined with operator or when comma is added to beginning of word with operator in search field
It happens when JROOT/administrator/components/com_finder/src/Indexer/Query.php creates $token with
$token = Helper::tokenize($terms[$i], $lang, true);
which yields an empty array from administrator/components/com_finder/src/Indexer/Helper.php
It is in turn because row 107:
$terms = array_filter($terms);
removes 0 because array_filter without callback does that. The reason for the comma issue is also array_filter. Should it be specified which false values should be removed in helper with callback for array_filter?
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|