From cf8ed149d4cb4c749c90fe8379edd8df88e0ad1d Mon Sep 17 00:00:00 2001 From: Attiya Ishaque Date: Mon, 14 Oct 2024 16:45:04 +0500 Subject: [PATCH] fix: fix track selection (#35648) --- common/djangoapps/course_modes/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/djangoapps/course_modes/views.py b/common/djangoapps/course_modes/views.py index 046767a26b89..759073a13583 100644 --- a/common/djangoapps/course_modes/views.py +++ b/common/djangoapps/course_modes/views.py @@ -195,6 +195,7 @@ def get(self, request, course_id, error=None): # lint-amnesty, pylint: disable= "content_gating_enabled": gated_content, "course_duration_limit_enabled": CourseDurationLimitConfig.enabled_for_enrollment(request.user, course), "search_courses_url": urljoin(settings.MKTG_URLS.get('ROOT'), '/search?tab=course'), + "course_run_key": course_id, } context.update( get_experiment_user_metadata_context(