mitodl/mitxonline

Not all departments are displaying when the catalog page loads

Closed this issue · 0 comments

When the catalog page is first loaded, only the departments for the courses retrieved via the first API call are shown. At most, the departments for only 12 courses are displayed.

Expected Behavior

All departments which have at least one course or program associated to them, depending on the current catalog tab, should be displayed.

Current Behavior

Only departments associated with the courses or programs loaded by the catalog are displayed.

Steps to Reproduce

  1. Create 13 courses and course runs which are expected to be displayed in the catalog.
  2. Add a unique department to the 13th course.
  3. Load the catalog page. Verify that the unique department is not shown until you scroll to the bottom of the catalog page.