Skip to content

Commit

Permalink
Merge pull request #316 from NikGor/issue-298-fix
Browse files Browse the repository at this point in the history
fix(contributors): sort contributors alphabetically
  • Loading branch information
fey authored Aug 16, 2023
2 parents 5635a82 + 07be72a commit c477278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contributors/views/contributor.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def get_context_data(self, **kwargs):
self.object.contribution_set.for_year()
)

context['contributors'] = Contributor.objects.visible().values(
context['contributors'] = Contributor.objects.visible().order_by('name').values(
'id',
'name',
'name'
)

context['current_contributor'] = self.object
Expand Down

0 comments on commit c477278

Please sign in to comment.