Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
rasteiner authored Sep 27, 2021
1 parent d8432f5 commit 7a94da8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PagesDisplaySection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7a94da8

Please sign in to comment.