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

date filter issue #465

Closed
TheSin- opened this issue Dec 17, 2013 · 2 comments
Closed

date filter issue #465

TheSin- opened this issue Dec 17, 2013 · 2 comments

Comments

@TheSin-
Copy link
Collaborator

TheSin- commented Dec 17, 2013

http://mottie.github.io/tablesorter/docs/example-widget-filter-formatter-1.html

click on the date field like you are going to select a date, but don't just click off.

it empties the table and you can't get it back to blank with data there after.

@Mottie
Copy link
Owner

Mottie commented Dec 17, 2013

Ok, I found this is actually a problem within the filter widget... the priority of exact match is higher than the operators match, so when an empty comparison is added to the input (>=), the filter widget thinks it's looking for an exact match of >.

Fixed by moving the operators type function before the exact type function .

@TheSin-
Copy link
Collaborator Author

TheSin- commented Dec 17, 2013

oh that makes sense I didn't have time to look into it I've been busy in the columnSelector widget trying to help get it ready :) Thanks for looking into this Mottie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants