Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Synchronise the filters with the GET parameters #42

Open
dantownsend opened this issue Mar 17, 2021 · 2 comments
Open

Synchronise the filters with the GET parameters #42

dantownsend opened this issue Mar 17, 2021 · 2 comments
Labels
enhancement New feature or request high priority High priority

Comments

@dantownsend
Copy link
Member

There's a little known feature in Piccolo admin where you can filter the row listing page using GET params. For example:

/#/movie?won_oscar=true

However, these values aren't synchronised with the filter sidebar:

  • When the page loads, the filter sidebar doesn't display the values in the GET params
  • When the filter sidebar values change, the GET params don't update accordingly

Having this work properly would be a nice feature. It will allow a user to do the following:

  • Load the listing page, and apply some filters
  • Click on one of the results, and edit it
  • Press the back button, and the same filters will still be applied
@dantownsend dantownsend added enhancement New feature or request medium priority Medium priority labels Mar 17, 2021
@dantownsend dantownsend added high priority High priority and removed medium priority Medium priority labels Jun 2, 2022
@sinisaos
Copy link
Member

sinisaos commented Jun 2, 2022

@dantownsend If you want I can do PR for this in the evening. I tried it and it needs a little change to make it work.

@dantownsend
Copy link
Member Author

@sinisaos That would be great, thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request high priority High priority
Projects
None yet
Development

No branches or pull requests

2 participants