From 7a94da8dd4f34c6e23263383466213f6f6e318ad Mon Sep 17 00:00:00 2001 From: Roman Steiner Date: Mon, 27 Sep 2021 12:27:14 +0200 Subject: [PATCH] fix #9 --- src/PagesDisplaySection.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/PagesDisplaySection.php b/src/PagesDisplaySection.php index 972c9f3..3fb8926 100755 --- a/src/PagesDisplaySection.php +++ b/src/PagesDisplaySection.php @@ -5,6 +5,11 @@ use Kirby\Toolkit\Query; $base = Section::$types['pages']; + +if (is_string($base)) { + $base = include $base; +} + $extension = [ 'props' => [ 'sortable' => function (bool $sortable = true) {