Filters Search Failing With Underscore (_)
drveresh opened this issue · comments
The search filter with an underscore (_) in the field name is failing, is this normal, or does it require any formatting?
Example endpoint: "/records/logs?page=1,20&order=id,desc&filter=msg,cs,account_id
"
There, I am searching in the log
records, where the field msg
contains a string like "Service account_id 1234 is updated". So, I want to search all log records that contain the string "account_id".
I am not sure, but this could be a bug or something else.
Please help me out with its solution.
The search filter with an underscore (_) in the field name is failing, is this normal, or does it require any formatting?
Hi Veeresh, Maybe because "CS" does a SQL "LIKE" and underscore is a wildcard in SQLite? I'll try to reproduce the bug. Kind regards, Maurits