Skip to content

Commit

Permalink
Add Course backend filter in course run admin list (#5052)
Browse files Browse the repository at this point in the history
  • Loading branch information
arslanashraf7 authored Sep 21, 2021
1 parent 342f7bf commit 86d1ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion courses/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CourseRunAdmin(admin.ModelAdmin):
"""ModelAdmin for Courses"""
list_display = ('title', 'course_number', 'edx_course_key', 'enrollment_start', 'start_date', 'enrollment_end',
'end_date', 'upgrade_deadline', 'freeze_grade_date', )
list_filter = ('course__program__live', 'course__program', 'course', 'course__course_number', )
list_filter = ('course__program__live', 'course__program', 'course', 'course__course_number', 'courseware_backend',)
list_editable = ('enrollment_start', 'start_date', 'enrollment_end', 'end_date', 'upgrade_deadline',
'freeze_grade_date', )
search_fields = ('edx_course_key',)
Expand Down

0 comments on commit 86d1ddf

Please sign in to comment.