appsembler / edx-theme-customers

Customer theme configuration and overrides
3 stars 2 forks source link

Use get_course_by_id to fix RED-3118 #214

Closed shadinaif closed 2 years ago

shadinaif commented 2 years ago

Change description

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

Type of change

Related issues

Fixes: https://appsembler.atlassian.net/browse/RED-3118

Checklists

Development

Security

Code review