Sort courses announcement date
If there is no announcement date (in the policy metadata) then use a heuristic to sort them. If there is an announcement date, the use it in the heuristic to determine if the course is new or not.
Showing
- common/djangoapps/student/views.py 21 additions, 24 deletionscommon/djangoapps/student/views.py
- common/lib/xmodule/xmodule/course_module.py 54 additions, 22 deletionscommon/lib/xmodule/xmodule/course_module.py
- common/lib/xmodule/xmodule/tests/test_course_module.py 52 additions, 23 deletionscommon/lib/xmodule/xmodule/tests/test_course_module.py
- lms/djangoapps/courseware/courses.py 16 additions, 0 deletionslms/djangoapps/courseware/courses.py
- lms/djangoapps/courseware/views.py 5 additions, 10 deletionslms/djangoapps/courseware/views.py
Please register or sign in to comment