From c65290c8811aee67140d85160e8a6bb1c6b2e850 Mon Sep 17 00:00:00 2001 From: Artem Hruzd Date: Mon, 12 Apr 2021 12:44:12 +0300 Subject: [PATCH] feat: update removing priority from nelp koa Remove priority from static main tabs to make tab sorting function works correctly (cherry picked from commit 2ca69ec19b3227e9efbe7481e0abe3ff44c8f11c) --- lms/djangoapps/courseware/tabs.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lms/djangoapps/courseware/tabs.py b/lms/djangoapps/courseware/tabs.py index 87cd6755185..b51d082e539 100644 --- a/lms/djangoapps/courseware/tabs.py +++ b/lms/djangoapps/courseware/tabs.py @@ -86,7 +86,6 @@ class SyllabusTab(EnrolledTab): """ type = 'syllabus' title = gettext_noop('Syllabus') - priority = 30 view_name = 'syllabus' allow_multiple = True is_default = False @@ -104,7 +103,6 @@ class ProgressTab(EnrolledTab): """ type = 'progress' title = gettext_noop('Progress') - priority = 40 view_name = 'progress' is_hideable = True is_default = False @@ -328,7 +326,6 @@ class DatesTab(EnrolledTab): type = "dates" title = gettext_noop( "Dates") # We don't have the user in this context, so we don't want to translate it at this level. - priority = 50 view_name = "dates" is_dynamic = True