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

Remember counter after filtering #172

Open
PeterPan73 opened this issue Nov 15, 2018 · 1 comment
Open

Remember counter after filtering #172

PeterPan73 opened this issue Nov 15, 2018 · 1 comment

Comments

@PeterPan73
Copy link

Hello, I try to when I filter by criteria to keep counters. For example http://jiren.github.io/filter.js/pagination.html if I uncheck "All" and then choose "Crime" to keep the counter of others, but also to filter them. Is that possible?

@jiren
Copy link
Member

jiren commented Dec 31, 2018

In pagination.js you need to remove the following lines keep counter.

https://github.com/jiren/filter.js/blob/ab295c2a7af124b8dc1bcbe0772f63f4af3ebfd1/examples/pagination.js#L13-L22

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