Commit e63eb268 by Jason Bau

Revert "make course listsings (front page) opaque keys compliant"

This reverts commit e412f55f.
parent ac0f9769
...@@ -29,7 +29,7 @@ def get_visible_courses(): ...@@ -29,7 +29,7 @@ def get_visible_courses():
if filtered_by_org: if filtered_by_org:
return [course for course in courses if course.location.org == filtered_by_org] return [course for course in courses if course.location.org == filtered_by_org]
if filtered_visible_ids: if filtered_visible_ids:
return [course for course in courses if course.id.to_deprecated_string() in filtered_visible_ids] return [course for course in courses if course.id in filtered_visible_ids]
else: else:
# Let's filter out any courses in an "org" that has been declared to be # Let's filter out any courses in an "org" that has been declared to be
# in a Microsite # in a Microsite
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment