Skip to content

Commit

Permalink
Make sure we show all sub pages on a network page (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb authored Jan 23, 2025
1 parent 66f0655 commit 35d0d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/networks/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def get_context(self, request, *args, **kwargs):
context = super().get_context(request, *args, **kwargs)

context["children"] = (
Network.objects.live().public().child_of(self).order_by("title")
Page.objects.live().public().child_of(self).order_by("title")
)
context["attribution"] = True
context["num_cols"] = 3
Expand Down

0 comments on commit 35d0d15

Please sign in to comment.