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

Global search values not working that are floats/numeric in DB as search is on a string values #8

Closed
RehanHuss opened this issue May 12, 2020 · 1 comment

Comments

@RehanHuss
Copy link

No description provided.

@RehanHuss RehanHuss changed the title search values not working on strings that are floats/numeric is DB as search is on a string values search values not working on strings that are floats/numeric in DB as search is on a string values May 12, 2020
@RehanHuss RehanHuss changed the title search values not working on strings that are floats/numeric in DB as search is on a string values Global search values not working on strings that are floats/numeric in DB as search is on a string values May 12, 2020
@RehanHuss RehanHuss changed the title Global search values not working on strings that are floats/numeric in DB as search is on a string values Global search values not working that are floats/numeric in DB as search is on a string values May 12, 2020
@pjosols
Copy link
Owner

pjosols commented May 13, 2020

That's true, this is a limitation--it does a $regex search which doesn't work on numbers. I'm sure there's room for improvement, using $where for example, but I won't have time to implement this anytime soon. Pull requests welcome!

@pjosols pjosols closed this as completed May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants