From 82430b50c6bae28cea6dd68cc98c85928f802cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 18 Nov 2024 15:24:29 +0100 Subject: [PATCH] Fix redirection after action in search results --- .../views/Entry/_card_actions.html.twig | 2 +- .../views/Entry/_card_list.html.twig | 2 +- .../Resources/views/Entry/entries.html.twig | 2 +- .../Controller/EntryControllerTest.php | 32 +++++++++++++++++++ 4 files changed, 35 insertions(+), 3 deletions(-) diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/_card_actions.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/_card_actions.html.twig index d77a48ec0..8102409ee 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/_card_actions.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/_card_actions.html.twig @@ -7,7 +7,7 @@ - {% set current_path = path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) %} + {% set current_path = app.request.requesturi %}