From a77647609856ee370bd1a83eaccdbd9e8d94ab91 Mon Sep 17 00:00:00 2001 From: Julia Hansbrough Date: Mon, 13 Jan 2014 16:39:47 +0000 Subject: [PATCH] Response to CR 1-13 --- lms/djangoapps/shoppingcart/reports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/shoppingcart/reports.py b/lms/djangoapps/shoppingcart/reports.py index 1c46ddb7c9..4a8501eaf7 100644 --- a/lms/djangoapps/shoppingcart/reports.py +++ b/lms/djangoapps/shoppingcart/reports.py @@ -275,6 +275,6 @@ def course_ids_between(start_word, end_word): valid_courses = [] for course in modulestore().get_courses(): - if (start_word.lower() <= course.id.lower() <= course.id.lower()) and (get_course_by_id(course.id) is not None): + if (start_word.lower() <= course.id.lower() <= end_word.lower()) and (get_course_by_id(course.id) is not None): valid_courses.append(course.id) return valid_courses