diff --git a/archives.php b/archives.php index 49f1ae4..e5a8d6a 100644 --- a/archives.php +++ b/archives.php @@ -224,9 +224,9 @@ protected function getArchives($filters, $operator, $order) } } if ($new_approach) { - $collection = $page->children(); + $collection = $page->collection('content', false); } elseif ($page_filter) { - $collection = $pages->find($page_filter)->children(); + $collection = $pages->find($page_filter)->collection('content', false); } else { $collection = new Collection(); $collection->append($taxonomy_map->findTaxonomy($find_taxonomy, $operator)->toArray());