diff --git a/app/internal/module/Olcs/src/Listener/HeaderSearch.php b/app/internal/module/Olcs/src/Listener/HeaderSearch.php index e285685e16..7f2bce8aca 100644 --- a/app/internal/module/Olcs/src/Listener/HeaderSearch.php +++ b/app/internal/module/Olcs/src/Listener/HeaderSearch.php @@ -107,9 +107,7 @@ public function onDispatch(MvcEvent $e) $searchFilterForm->add($fs); if ($searchFilterForm->has('submit')) { - $submitButton = $searchFilterForm->get('submit'); - $searchFilterForm->remove('submit'); - $searchFilterForm->add($submitButton); + $searchFilterForm->setPriority('submit', -1); } }