mitodl/mitxpro

Incorrect Topics on the Courses

Closed this issue · 2 comments

cachob commented

I found a course that is showing itself under a different Course Topic on the xPRO site from what it was assigned in the CMS.

Steps to Reproduce

From the xPRO home page, click on Catalog. On the Course Topics list, select Industry-Based. Take note of the course titled Principles of Biomanufacturing: Using Biotechnology to Manufacture Medicines

Open this link to the CMS to look at the course page settings for this course: https://xpro.mit.edu/cms/pages/263/edit/

Notice that the course topic highlighted is BioTech:

image

The course topic for this course in the API is BioTech:

image

Expected Behavior

The course topic for the course above will be BioTech.

Update on this, for Clarity:

So, this is related to how the topics are configured in the CMS. Here is how the topics are currently working:

  • Topics usually have a parent/child relationship that can be managed through CMS.
  • On the Catalog page, We only show the parent topic labels list.
  • Upon clicking a label on the Catalog page, All the courses associated with that parent topic (+ All of the subtopics) are filtered.
  • So, The child/subtopics are now visible to the user but they will be filtered on the base of the parent.

Analysis
After mentioning the above details, Upon checking the CMS it looks like BioTech topic is a subtopic and it has a parent topic which is Industry-Based. https://xpro.mit.edu/cms/courses/coursetopic/edit/52/. This is the reason this course is showing upon selecting Industry-Based topic.

cachob commented

No action needed - working as designed