diff --git a/cms/djangoapps/contentstore/views/course.py b/cms/djangoapps/contentstore/views/course.py index 8cf2b54ccf29..5670bc410ec8 100644 --- a/cms/djangoapps/contentstore/views/course.py +++ b/cms/djangoapps/contentstore/views/course.py @@ -22,7 +22,7 @@ from django.utils.translation import gettext as _ from django.views.decorators.csrf import ensure_csrf_cookie from django.views.decorators.http import require_GET, require_http_methods -from edly_features_app.filters import OrganizationsRequested +from edly_features_app.filters import CoursesRequested, OrganizationsRequested from edx_django_utils.monitoring import function_trace from opaque_keys import InvalidKeyError from opaque_keys.edx.keys import CourseKey @@ -765,6 +765,8 @@ def get_courses_accessible_to_user(request): # user have some old groups or there was some error getting courses from django groups # so fallback to iterating through all courses courses, in_process_course_actions = _accessible_courses_summary_iter(request) + + courses = CoursesRequested.run_filter(courses=courses) return courses, in_process_course_actions