forked from mirrors/bookwyrm
sort group members in UserGroups view
This commit is contained in:
parent
c04659984f
commit
9d8e978686
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class UserGroups(View):
|
|||
def get(self, request, username):
|
||||
"""display a group"""
|
||||
user = get_user_from_username(request.user, username)
|
||||
memberships = models.GroupMember.objects.filter(user=user).all()
|
||||
memberships = models.GroupMember.objects.filter(user=user).all().order_by("-updated_date")
|
||||
paginated = Paginator(memberships, 12)
|
||||
|
||||
data = {
|
||||
|
|
Loading…
Reference in a new issue