Flathub search: include categories in url as parameters

Currently if you’re on the search results page on flathub and you select some categories. then you click on a result. then go back (by using your browser back button) it’ll have forgotten what categories were selected.

There are various ways of solving this but i personally would prefer it to have url parameters every time you change an option (this doesn’t require a page reload it can be done using this I think)

So something like this:

Could be https://flathub.org/apps/search?q=time+tracking&categories=productivity&license=free-libre-open-source&verification=verified

(apologies if this request already exists, couldn’t find one)

We already support that on the page in some quantity e.g. for Search for '' | Flathub or for these flathub.org/apps/search?type=addon
flathub.org/apps/search?type=runtime
flathub.org/apps/search?type=generic
flathub.org/apps/search?type=localization

So I agree, we should probably start writing those back too. Would you be able to create an issue? Sign in to GitHub · GitHub