[Bug] The filters use URLs to display the filtered resources #270
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟧 priority: high
Stalls work on the project or its dependents
🧹 status: ticket work required
Needs more details before it can be worked on
Description
While choosing any filter for the resources (for ex.
Topic = Licenses
), the url of the page gets changed fromurl
tourl/all/topic=license
. So when we press the cross [x] to revert the changes, the page goes tourl/all
and not on justurl
.Reproduction
https://resources.creativecommons.org/
to (finally)https://resources.creativecommons.org/all/?
Expectation
The filtering of resources should follow a
class-based system
and not the changing of URL. the chosen filters should be toggled as class name in the concerned resources and only those resources will be displayed.Screenshots
The url normally looks like:
After choosing a filter
Topic = Licenses
:Now clicking on the
[x]
alongside the chosen filter:Resolution
The text was updated successfully, but these errors were encountered: