Commit a7764760 by Julia Hansbrough

Response to CR 1-13

parent f2b03942
...@@ -275,6 +275,6 @@ def course_ids_between(start_word, end_word): ...@@ -275,6 +275,6 @@ def course_ids_between(start_word, end_word):
valid_courses = [] valid_courses = []
for course in modulestore().get_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) valid_courses.append(course.id)
return valid_courses return valid_courses
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