From 35d0d15483290c34fdbfdda06b4c7fc51616ccd4 Mon Sep 17 00:00:00 2001 From: Cameron Lamb Date: Thu, 23 Jan 2025 12:31:38 +0000 Subject: [PATCH] Make sure we show all sub pages on a network page (#882) --- src/networks/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/networks/models.py b/src/networks/models.py index e9755fa20..d14658927 100644 --- a/src/networks/models.py +++ b/src/networks/models.py @@ -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