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

An advice on how to implement "filtering"? #145

Open
yigitguler opened this issue Apr 2, 2020 · 1 comment
Open

An advice on how to implement "filtering"? #145

yigitguler opened this issue Apr 2, 2020 · 1 comment

Comments

@yigitguler
Copy link

Hi @shtalinberg,

Thank you for maintaining this great package. It really saved a lot of precious development (and QA) time.

I have a simple question: In our list page, we have a filtering functionality. When the user selects a category from the drop-down list, the page only shows the articles from that category.

We can do this by reloading the page with a query parameter ?category=news

What would be the easiest way to do this using django-el-pagination, without reloading the entire page? Is there support for this? Couldn't find it in the docs.

Thank you again for maintaining this beautiful package. I truly appreciate it.

@paulschreiber
Copy link

paulschreiber commented Dec 20, 2020

The django-filter module works for this.

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