SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 4d87635b authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Order queryset

parent 9e8e90fc
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ class RegistrationInvitationsView(PaginationMixin, PermissionsMixin, ListView):
permission_required = 'scipost.can_create_registration_invitations'
queryset = RegistrationInvitation.objects.drafts().not_for_fellows()
paginate_by = 10
ordering = ['date_sent_last', 'last_name']
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment