Merge "Sort 'Independent' last in team pages"

This commit is contained in:
Zuul 2020-06-19 16:08:18 +00:00 committed by Gerrit Code Review
commit f76d1aa3c5

View File

@ -386,6 +386,8 @@ class TeamDirective(rst.Directive):
all_series = reversed(sorted(
_deliverables.get_team_series(self.team_name)
))
# If independent is in the list, it should be sorted last
all_series = sorted(all_series, key='independent'.__eq__)
result = ViewList()