Collection Filter Search and URL Parameters

I am currently using an input field as a search bar for a table. When I type into the search bar, it filters a collection.

I would like to make it so whatever is searched in the field gets added as a parameter in the URL. That way if an item is clicked on, and then the user clicks on back it will take them to the already searched table.

How can I achieve this?

Hey @InterviewKey :wave:

You can use a query variable to do just this. And in your search bar workflow, set this variable to the value the user searched.

When going back to the previous page, you can set the initial value of the search bar back to the value of this query variable, to set back the search.

Here’s a doc on query variables: Booleans | Weweb documentation