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

Search doesn't work as expected for date fields #447

Open
scoumbourdis opened this issue May 13, 2018 · 4 comments
Open

Search doesn't work as expected for date fields #447

scoumbourdis opened this issue May 13, 2018 · 4 comments

Comments

@scoumbourdis
Copy link
Owner

The search doesn't work as expected for any of the themes available so far for date fields at the column list. More specifically Grocery CRUD is experiencing the following problem :

When we search with our date format for example: 22/04/2017 we are expecting to get all the dates of 22/04/2017 instead no results are returned

The main reason for that is that we will need to search with the following format YYYY-mm-dd for example: 2017-04-22. But even then we will have issues as the quick search is mainly looking with a LIKE. For example you can search all of the dates on 2017 by writing 2017 or if you would like to search all the dates of March 2017 you should write 2017-03. This is not very obvious for the end user and it is a bit also annoying to explain this situation to a customer but this is the work-around for now.

We will try to fix this problem so it will at least search by the date format of the user.

@portapipe
Copy link
Contributor

portapipe commented May 13, 2018

We are using European dd/mm/yyyy format and is should be good to have it working in that format.

There is the Boolean search that is not working as expected. We can take a look at it too.

@scoumbourdis
Copy link
Owner Author

scoumbourdis commented May 24, 2018

Scheduled in my todo list to be done by: 30 June 2018 (without any promises)

@mbanolas
Copy link

Please, could you inform if the issue has already been solved? Thanks.

@mckaygerhard
Copy link

i do not use date formats.. just use YYYYMMDD and that's all.. too complicated for

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

4 participants