VOI
Member
Hi,
searching for strings in dropdowns using the "Search all" plugin does not seem to work - I never get any matching records.
When entering the string "label" in the "Search all" field above the list and turning on Fabrik Debug using "fabrikdebug=1", the WHERE clause shown in the section "list GetData" goes as follows:
There seem to be to many quotes , backslashes and double-quotes in the statement (e.g. the quote between REGEXP and LOWER).
Searching in databasejoins and other fields works fine.
Could some please check the code generating the SQL statement. Thanks a lot.
Chris
searching for strings in dropdowns using the "Search all" plugin does not seem to work - I never get any matching records.
When entering the string "label" in the "Search all" field above the list and turning on Fabrik Debug using "fabrikdebug=1", the WHERE clause shown in the section "list GetData" goes as follows:
Code:
WHERE ( (LOWER(`table`.`dropdown`) REGEXP 'LOWER('label')' OR LOWER(`table`.`dropdown`) LIKE '[\"LOWER(\\'label\\')\"%' OR LOWER(`table`.`dropdown`) LIKE '%\"LOWER(\\'label\\')\"%' OR LOWER(`table`.`dropdown`) LIKE '%\"LOWER(\\'label\\')\"]') )
There seem to be to many quotes , backslashes and double-quotes in the statement (e.g. the quote between REGEXP and LOWER).
Searching in databasejoins and other fields works fine.
Could some please check the code generating the SQL statement. Thanks a lot.
Chris