Skip to content

Commit e4eac37

Browse files
committed
filter userlist membership by author
1 parent 4701a3f commit e4eac37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

learning_resources/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,7 @@ def get_queryset(self):
922922
"""
923923
return UserListRelationship.objects.filter(
924924
child__published=True,
925+
parent__author=self.request.user,
925926
).order_by("child", "parent")
926927

927928

0 commit comments

Comments
 (0)