Skip to content

Commit

Permalink
Users default sort on date_joined
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Mar 8, 2021
1 parent 7353188 commit 2ab78c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class UserBaseView(BaseAPIView):
}
document_model = UserProfileDocument
is_searchable = True
default_qs_sort_attr = '-created_at'
default_qs_sort_attr = '-date_joined'


class UserLogoView(UserBaseView, BaseLogoView):
Expand Down

0 comments on commit 2ab78c4

Please sign in to comment.