Skip to content

Commit

Permalink
hopefully fix redirect for reset
Browse files Browse the repository at this point in the history
  • Loading branch information
krkabol committed Jan 29, 2025
1 parent 7204a46 commit ff4e7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/src/Controller/Front/SearchFormController.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function database(Request $request, #[MapQueryParameter] bool $reset = fa
{
if ($reset) {
$this->sessionService->reset();
// return $this->redirectToRoute($request->get('_route'));
return $this->redirectToRoute('app_front_database');
}
$getData = $request->query->all();
if (!empty($getData)) {
Expand Down

0 comments on commit ff4e7b1

Please sign in to comment.