Fix follow repeats on pages

Fixes #510
pull/512/head
Andrew Godwin 2023-02-15 10:44:02 -07:00
rodzic e382994e73
commit 33b24d99bc
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -63,6 +63,7 @@ class IdentityService:
inbound_follows__state__in=FollowStates.group_active(),
)
.not_deleted()
.distinct()
.order_by("username")
.select_related("domain")
)
@ -74,6 +75,7 @@ class IdentityService:
inbound_follows__state__in=FollowStates.group_active(),
)
.not_deleted()
.distinct()
.order_by("username")
.select_related("domain")
)