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

Sort by a filed will cause Filter losing its value in version 3.0.0-beta.3 #3899

Closed
vnnw opened this issue Oct 29, 2019 · 1 comment
Closed

Comments

@vnnw
Copy link

vnnw commented Oct 29, 2019

What you were expecting:
When in a ListView, I add a filter which using ReferenceInput and SelectInput, then click a field to sort the result set, the selected filter value should be kept.

What happened instead:
When I add a filter, then click a field to sort to refresh result set, the selected filter will disappear.

E.g.
the filtering request url is

http://localhost:8000/api/tables/?database=1&ordering=-last_modified_at&page=1&page_size=10

when I clicked any field, the url get changed into

http://localhost:8000/api/tables/?ordering=-name&page=1&page_size=10

the "database=1" part is lost, Filter form becomes blanked too.

@fzaninotto
Copy link
Member

Already fixed by #3887

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