From d3686a54d16e67b3dfb885b9464161658581f736 Mon Sep 17 00:00:00 2001 From: Taimoor Ahmed Date: Thu, 3 Apr 2025 00:46:22 +0500 Subject: [PATCH] fix: inline discussions fix for legacy cs_comments_service --- lms/djangoapps/discussion/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/discussion/views.py b/lms/djangoapps/discussion/views.py index 7bf2274b437f..e50e133fc1ad 100644 --- a/lms/djangoapps/discussion/views.py +++ b/lms/djangoapps/discussion/views.py @@ -147,7 +147,7 @@ def get_threads(request, course, user_info, discussion_id=None, per_page=THREADS # If the user clicked a sort key, update their default sort key cc_user = cc.User.from_django_user(request.user) cc_user.default_sort_key = request.GET.get('sort_key') - cc_user.save(params={"course_id": course.id}) + cc_user.save(params={"course_id": str(course.id)}) #there are 2 dimensions to consider when executing a search with respect to group id #is user a moderator