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

Fix datetime grid filter bug on empty input #1718

Merged
merged 3 commits into from
Dec 6, 2021
Merged

Fix datetime grid filter bug on empty input #1718

merged 3 commits into from
Dec 6, 2021

Conversation

mkrecek234
Copy link
Contributor

@mvorisek As requested, sorry for the earlier PR - solves issue #1717

@mvorisek
Copy link
Member

mvorisek commented Dec 5, 2021

next time, better to keep the same PR...

how to test: issue can be tested on collection/tablefilter.php demo by replacing CountryLock with Stat

this PR is bad, a) this does not fix the same issue in other Dt filters (TypeDate, TypeDateTime, TypeTime), b) code of these filters should be deduplicated

@mkrecek234
Copy link
Contributor Author

mkrecek234 commented Dec 5, 2021

@mvorisek Sorry, but I try just to help fixing bugs even if it is not as exhaustive as you would fancy (to your point that PR is "bad"). I think contributing should not be criticised as "bad" or "good". Every contribution identifying or fixing even the most minor bug should be considered "helpful". If you can make it even better, e.g., by even improving code by deduplicating, everyone will appreciate this a lot.

Please check commit for datetime fixing the same issue

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

Successfully merging this pull request may close these issues.

2 participants