Skip to content

Commit

Permalink
fix: Ensure filter button is rendered at the end of the filter form.
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble committed Sep 19, 2024
1 parent e335e29 commit 7ba9d57
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/internal/module/Olcs/src/Listener/HeaderSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 7ba9d57

Please sign in to comment.