How to save current appended fillter to collecttions page to display it current state
like what i selected
so i have 4 filters

date sort, brand, category and a price range
![]()
so all of this filters is displayed in adress bar
and i need to save information about selected option so i can display what is currently selected on page
how to do it?
here is example of 2 filters:
<select
name=“brands”
id=“brands”
onchange=“FILTER.searchParams(event, ‘filter.p.vendor’)”