-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Labels
Description
🐞 Bug Description
When a user selects a year from the Year dropdown filter, the list of papers does not update immediately. Instead, the changes are only applied after the user interacts with another filter (e.g., All Papers, Favorites, etc.).
📋 Steps to Reproduce
- Go to the homepage.
- Select a year from the Year dropdown.
- Observe that the papers list does not refresh.
- Now change another filter (like All Papers) → only then the year filter is applied.
🎯 Expected Behavior
The papers list should refresh immediately when the user selects a year, without requiring any additional filter change
📸 Screenshots
https://github.com/user-attachments/assets/2b9d7f28-e4f8-47d3-8c35-8cd5f82d225b
💻 Environment
- OS: [e.g. Windows 11, Ubuntu 22.04]
- Browser: [e.g. Chrome 119, Firefox 120]
- Version: [e.g. v1.0.0]
✅ Additional Context
Suggested Fix
Attach the filtering function directly to the year dropdown’s onchange
event so the paper list updates instantly after selection.