From f6ea2f612aa427e8a5b4df2df826c28ae5616ece Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Thu, 10 Sep 2015 09:11:52 +0200 Subject: [PATCH] Include non routable pages (e.g. modular pages) in the pages list filter --- classes/controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/controller.php b/classes/controller.php index 4bb1dcc4..4b485713 100644 --- a/classes/controller.php +++ b/classes/controller.php @@ -415,7 +415,7 @@ class AdminController $queries = !empty($data['query']) ? explode(',', $data['query']) : []; /** @var Collection $collection */ - $collection = $this->grav['pages']->all(); + $collection = $this->grav['pages']->allIncludingNonRoutable(); if (count($flags)) { // Filter by state