From e6408a4dff5b95e9c9fee3336c82a21120c1eb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 13 Aug 2022 23:07:05 +0200 Subject: [PATCH] Pass the full request URI (including GET params) to the datatables controller Search options are passed as GET params and were therefore ignored before. This fixes issue #165. --- templates/_navbar_search.html.twig | 2 +- templates/components/datatables.macro.html.twig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/_navbar_search.html.twig b/templates/_navbar_search.html.twig index 6f6f7d64..14c092e6 100644 --- a/templates/_navbar_search.html.twig +++ b/templates/_navbar_search.html.twig @@ -64,6 +64,6 @@ - + \ No newline at end of file diff --git a/templates/components/datatables.macro.html.twig b/templates/components/datatables.macro.html.twig index b63beefc..e7e1cfed 100644 --- a/templates/components/datatables.macro.html.twig +++ b/templates/components/datatables.macro.html.twig @@ -1,5 +1,5 @@ {% macro datatable(datatable, controller = 'elements/datatables/datatables') %} -
+
@@ -19,7 +19,7 @@ {% macro partsDatatableWithForm(datatable) %}