[Bug]: Clear Filters button does not reset applied filters
What happened?
Description
The "Clear Filters" button is not functioning as expected. After applying one or more filters and clicking "Clear Filters", the selected filters remain active and the filtered results do not return to their default state. Steps to Reproduce
- Navigate to the relevant page.
- Apply one or more filters.
- Click the "Clear Filters" button.
Expected Behavior All applied filters should be removed and the results should return to the default unfiltered state.
Actual Behavior The filters remain applied (or only partially reset), and the displayed results do not fully return to the default state.
Additional Information
Screenshots or screen recordings can be attached if helpful.
Steps to reproduce
Steps to Reproduce
- Navigate to the page containing the filter options.
- Select one or more filters.
- Verify that the displayed results update according to the selected filters.
- Click the "Clear Filters" button.
- Observe that the applied filters are not removed and/or the results remain filtered.
Expected behaviour
All applied filters should be removed and the results should return to the default unfiltered state.
Area of the app affected
Homepage form
Python version
3.11.4
Operating system
windows 11
Relevant error output or logs
Before submitting
- [x] I searched existing issues and this has not been reported before.
- [x] I can reproduce this bug consistently with the steps above.
- [x] I am running the latest version of the main branch.
Thank you for opening your first issue in DevPath.
Please make sure to:
- Read CONTRIBUTING.md
- Wait for assignment before starting work
- Follow repository guidelines carefully
Happy contributing.
Hi @komalharshita I'm a GSSoC 2026 contributor interested in working on this issue. If it's still available and not already assigned, could you please assign it to me? Thank you!
/assign
Hey! @komalharshita The fix should be pretty straightforward - the clear button probably isn't resetting the filter state properly. I'd just trace where the filter values are stored, make sure the button resets them all back to default, and ensure the results re-fetch after clearing. Can you assign this to me?
/assign
@komalharshita I'd like to work on this — contributing under GSSoC'26
Hi, I am Gssoc contributor and would like to work on this issue. Please assign it to me. Here's a short implementation of this:
Locate the Clear Filters button handler. Reset all filter state values to their default values. Clear any query parameters or stored filter values if used. Trigger a refresh/re-render of the results list after resetting filters. Ensure UI components (dropdowns, checkboxes, search inputs) reflect the cleared state.
-Tests
Verify all selected filters are cleared when the button is clicked. Verify results return to the default unfiltered list. Verify filter UI elements show their default state. Verify no regressions when applying filters again after clearing.
-PR Checklist
✅ Clear Filters resets all filter states
✅ Results return to default view
✅ UI updates correctly
✅ Tests added/updated
✅ Screenshot or test output included in PR
Thank you!!
Hi @komalharshita,
I'd like to work on this issue under GSSoC'26.
I reviewed the bug and understand that the Clear Filters button is not fully resetting the filter state. I can investigate the filter state management, ensure all applied filters are cleared correctly, and verify that the results return to the default unfiltered state.
I'll test the fix across different filter combinations and ensure the UI remains consistent without introducing regressions.
Thank you!
I would like to work on this issue. Could you please assign it to me? I can fix the Clear Filters button to properly reset all applied filters.
@komalharshita I'd like to work on this — contributing under GSSoC'26
Hi ,I would like to work on this issue under GSSoC 2026. Could you please assign this issue to me?
Thank you!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!
This issue was closed because it has been inactive for an extended period. If this issue is still relevant, feel free to reopen it or create a new one.