From 6d1ff11ce452fda2550fe52e5a25a9e74f570bd5 Mon Sep 17 00:00:00 2001 From: John Learn Date: Sat, 28 Sep 2024 16:25:44 -0400 Subject: [PATCH] prevent children without content from being hidden. --- src/Model/RollupPage.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Model/RollupPage.php b/src/Model/RollupPage.php index 30cd9d0..b8ddf87 100644 --- a/src/Model/RollupPage.php +++ b/src/Model/RollupPage.php @@ -85,9 +85,7 @@ public function Children() { if ( $this->ShowLinksOnly !== 1 ) { return ArrayList::create(); } - parent::Children(); - - return parent::Children()->exclude( ['Content' => ''] ); +return parent::Children(); }