php-crud-api icon indicating copy to clipboard operation
php-crud-api copied to clipboard

Filters Search Failing With Underscore (_)

Open drveresh opened this issue 1 year ago • 2 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.

drveresh avatar Jul 15 '24 10:07 drveresh