Answer the question
In order to leave comments, you need to log in
How to do filtering correctly, along with sorting (both are passed via GET)?
Good afternoon!
There is a sorting of goods
and there is a filtering
When I click on sorting, the GET parameter "sort" appears in the address bar.
And when I select a color in the filter, I click on "Apply Filter" the previous GET parameter "sort" is overwritten, and instead the parameter "color" appears. ...
How to make sure that one does not interfere with the other, and if I uncheck the previously selected color and put a new one, that one is lost, and the new one appears without overwriting "sort" ....
I hope I explained it clearly. Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question