1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-15 11:14:12 +02:00
This commit is contained in:
Ryan Cramer
2021-06-17 15:59:37 -04:00
parent 91d96a0317
commit 6d35e603f0

View File

@@ -100,7 +100,7 @@ class ProcessPageListActions extends Wire {
'url' => "{$adminUrl}page/add/?parent_id={$page->id}"
);
$sortable = $page->sortfield == 'sort' && $page->parent->id && $page->parent->numChildren > 1 && $page->sortable();
$sortable = $page->parent->sortfield() == 'sort' && $page->parent->id && $page->parent->numChildren > 1 && $page->sortable();
if($page->id > 1 && ($sortable || $page->moveable())) $actions['move'] = array(
'cn' => 'Move',