From a37e6c229721699ec223b767404ec0530bcfd484 Mon Sep 17 00:00:00 2001 From: Sam <6567634+sampoyigi@users.noreply.github.com> Date: Wed, 3 May 2023 18:24:58 +0100 Subject: [PATCH] Add binding of toolbar widget to controller in ListController. Signed-off-by: Sam <6567634+sampoyigi@users.noreply.github.com> --- app/admin/actions/ListController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/admin/actions/ListController.php b/app/admin/actions/ListController.php index 63d73efba5..0b470a193e 100644 --- a/app/admin/actions/ListController.php +++ b/app/admin/actions/ListController.php @@ -218,6 +218,7 @@ public function makeList($alias) $this->toolbarWidget[$alias] = clone $this->controller->widgets['toolbar']; if ($this->toolbarWidget[$alias] instanceof \Admin\Widgets\Toolbar) $this->toolbarWidget[$alias]->reInitialize($listConfig['toolbar'] ?? $modelConfig['toolbar']); + $this->toolbarWidget[$alias]->bindToController(); } // Prep the optional filter widget