SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js
https://adminjs.co
MIT License
8.15k stars 659 forks source link

[Feature]: Filter case-insensitive #1561

Open lpbonomi opened 11 months ago

lpbonomi commented 11 months ago

Description

I would like to be able to find records regardless of the letter case. For example, if a record has its name "Test" I would like to find it by searching "test".

Suggested Solution

Make the filtering case-insensitive

Alternatives

No response

Additional Context

No response

dziraf commented 11 months ago

This is something that has to be done on each adapter's level. Currently only @adminjs/sql supports case-insensitive search. This is problematic because not all databases support ILIKE which adds an additional requirement to check for your DB dialect which is something we'd rather not do.

lpbonomi commented 11 months ago

Ok! Thanks for the fast reply!