Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore-case in searches #340

Closed
javiavid opened this issue Sep 8, 2022 · 3 comments
Closed

Ignore-case in searches #340

javiavid opened this issue Sep 8, 2022 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request question Further information is requested

Comments

@javiavid
Copy link

javiavid commented Sep 8, 2022

I think it would be easier for searches to have an option to ignore cases.

@RafaelGB
Copy link
Owner

RafaelGB commented Sep 8, 2022

Its intentional because the library of react-table has a bug with that. that's why is case sensitive

@RafaelGB RafaelGB added documentation Improvements or additions to documentation question Further information is requested labels Sep 8, 2022
@RafaelGB RafaelGB added this to 🥶 backlog in Obsidian database plugin Roadmap via automation Sep 8, 2022
@RafaelGB RafaelGB added the enhancement New feature or request label Sep 8, 2022
@RafaelGB
Copy link
Owner

RafaelGB commented Sep 8, 2022

Found a way to generate a wrapper with it and it works

const sanitized = DataviewService.parseLiteral(value, InputType.MARKDOWN, ddbbConfig, true);
    return sanitized.toString().toLowerCase().includes(filterValue.toLowerCase())

@RafaelGB RafaelGB moved this from 🥶 backlog to 🏁👍 Ready for the next version in Obsidian database plugin Roadmap Sep 8, 2022
@javiavid
Copy link
Author

javiavid commented Sep 8, 2022

Great! Thanks

@RafaelGB RafaelGB moved this from 🏁👍 Ready for the next version to ✅ Done in Obsidian database plugin Roadmap Sep 8, 2022
@RafaelGB RafaelGB closed this as completed Sep 8, 2022
@RafaelGB RafaelGB self-assigned this Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request question Further information is requested
Projects
No open projects
Development

No branches or pull requests

2 participants