orchidsoftware / platform

Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards.
https://orchid.software
MIT License
4.26k stars 631 forks source link

Add query parameters on filter #2831

Open juliardi opened 1 month ago

juliardi commented 1 month ago

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

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 :

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

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 https://github.com/orchidsoftware/platform/discussions/2819