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

Add query parameters on filter #2831

Open
juliardi opened this issue May 6, 2024 · 0 comments
Open

Add query parameters on filter #2831

juliardi opened this issue May 6, 2024 · 0 comments

Comments

@juliardi
Copy link

juliardi commented May 6, 2024

Hello, I have a tree-like data like this :

  • folderA
    • childA1
      • childA1X
      • childA1Y
      • childA1Z
    • childA2
    • childA3
  • folderB
    • childB1
    • childB2
      • childB2X
      • childB2Y
      • childB2Z
    • childB3

These tree data is loaded on a list screen based on the value of query parameter 'prefix'.
For example, if prefix=folderA, the list screen will only display :

  • childA1
  • childA2
  • childA3

And if prefix=folderB/childB2, it will display :

  • childB2X
  • childB2Y
  • childB2Z

etc.

Now, if I use the filter feature while prefix is not empty, it will load a new URL with filter parameter without including the prefix parameter. How do I include the prefix parameter when filtering?

Originally posted by @juliardi in #2819

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

No branches or pull requests

1 participant