Respect eneable fields in custom page repository when appropriate

This commit is contained in:
Björn Fromme committed 2022-08-22 10:04:54 +02:00
1 parent 2c26fd81e7
commit 77e776246d
3 files changed
+7 -10

No files matched your search

@@ -69,14 +69,14 @@ class BackendController extends ActionController
public function initializeAction()
{
$this->pageUid = (integer)GeneralUtility::_GET('id');
$this->pageUid = (int)GeneralUtility::_GET('id');
parent::initializeAction();
}
public function listPagesAction()
{
$pages = $this->pageRepository->findPagesByPid($this->pageUid);
$pages = $this->pageRepository->findPagesByPid($this->pageUid, true);
$this->view->assign('pages', $pages);
}