Skip to content

Searching within the active/archived courses list returns results from the entire course list #1477

Closed
@mariajgrimaldi

Description

@mariajgrimaldi

Description

The archived/active filter on the Studio Home is not working as expected when using them with searching. When users attempt to filter for active/archived courses by using the 'Archived' option in combination with search actions, active courses are displayed instead of only archived ones.

Steps to Reproduce

  1. Go to the Studio home page.
  2. Select the archived option and enter the name of an active course in the search bar field.

Expected Result:
The system should display only archived courses based on the filters and search term. If no results are found, it should display the message: "We could not find any results."

Actual Result:
The system displays active courses in the list instead of archived ones.

This behavior repeats with active courses.

Additional Information

I'm guessing this issue was happening since this feature was introduced. When selecting active/archived, and then searching, the archived_only or active_only filters are somehow removed, resulting in filtering all courses instead.

Originally posted here: openedx/wg-build-test-release#403

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReport of or fix for something that isn't working as intendedrelease testingAffects the upcoming release (attention needed)

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions