Since the template lms/templates/dashboard/_dashboard_course_listing.html is using enrollment variable that is already checked by get_course_with_access then we can safely call get_course_by_id instead in this template. This is to resolve the redirect issue in RED-3118
Change description
Since the template
lms/templates/dashboard/_dashboard_course_listing.html
is usingenrollment
variable that is already checked byget_course_with_access
then we can safely callget_course_by_id
instead in this template. This is to resolve the redirect issue in RED-3118Type of change
Related issues
Fixes: https://appsembler.atlassian.net/browse/RED-3118
Checklists
Development
Security
Code review