Skip to content

[BUG] - Year Filter not updating instantly #470

@kalyaniugale

Description

@kalyaniugale

🐞 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

  1. Go to the homepage.
  2. Select a year from the Year dropdown.
  3. Observe that the papers list does not refresh.
  4. 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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions