diff --git a/app/internal/module/Olcs/src/Listener/HeaderSearch.php b/app/internal/module/Olcs/src/Listener/HeaderSearch.php index 7f452a266a..7f2bce8aca 100644 --- a/app/internal/module/Olcs/src/Listener/HeaderSearch.php +++ b/app/internal/module/Olcs/src/Listener/HeaderSearch.php @@ -105,6 +105,10 @@ public function onDispatch(MvcEvent $e) $fs = $this->getFormElementManager() ->get(SearchOrderFieldset::class, ['index' => $index, 'name' => 'sort']); $searchFilterForm->add($fs); + + if ($searchFilterForm->has('submit')) { + $searchFilterForm->setPriority('submit', -1); + } } $container = new Container(SearchController::CONTAINER);