fix: redirect behavior to learner-specific progress pages

JIRA:AU-375
This commit is contained in:
Matt Hughes
2021-12-10 15:33:26 -05:00
committed by Matt Hughes
parent 3873ff7de9
commit a92f372a3e
11 changed files with 19 additions and 20 deletions

View File

@@ -98,7 +98,7 @@ def reset_course_deadlines(request):
if course_home_legacy_is_active(course_key):
body_link = '{}{}'.format(settings.LMS_ROOT_URL, reverse('dates', args=[str(course_key)]))
else:
body_link = get_learning_mfe_home_url(course_key=str(course_key), view_name='dates')
body_link = get_learning_mfe_home_url(course_key=str(course_key), url_fragment='dates')
return Response({
'body': format_html('<a href="{}">{}</a>', body_link, _('View all dates')),