creativecommons / creativecommons/cc-resource-archive
[Bug] The filters use URLs to display the filtered resources
- Dominant language
- Dockerfile
- Stars
- 66
- Forks
- 137
- PR merge metrics
- No merged PRs in 30d
Description
## Description
While choosing any filter for the resources (for ex. `Topic = Licenses`), the url of the page gets changed from `url` to `url/all/topic=license`. So when we press the cross [x] to revert the changes, the page goes to `url/all` and not on just `url`.
## Reproduction
1. Go to the [Resource Archive](https://resources.creativecommons.org/) site
2. Click on any of the filters.
3. Click the [x] alongside your chosen filter.
4. Now the url has changed from (initially) `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
- [x] I would be interested in resolving this bug.
Contributor guide
Assessment
This issue has not been assessed yet.