Skip to content

[Bug] PYQs page cascading filters show limited options due to small static dataset #591

@sonal-jakhar

Description

@sonal-jakhar

Description

On the /pyqs page, the University dropdown shows only a limited set of static values (LPU, DU, JNU). After selection, the Department/Semester/Subject dropdowns also show very limited options, making the cascading filter experience feel incomplete.


Root Cause

The page appears to be using a small hardcoded dataset samplePapers, which contains only a few entries. Because of this, the cascading dropdowns do not have enough data combinations to show diverse filtering options.


Expected Behavior

Dropdowns should provide a meaningful and diverse set of options so that users can properly explore and filter PYQs across universities, departments, semesters, and subjects.


Suggested Improvement

Either:

  • Expand the dataset with more realistic and diverse entries
  • Replace static data with dynamic/backend-driven data in future improvements

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions