From b1dbe10ca67065cc08f310cdf9a65779fd1ff5fa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 19 Dec 2024 10:09:35 +0100 Subject: [PATCH] Bug 38714: filter-orders.inc Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../prog/en/includes/filter-orders.inc | 36 ++++++++++--------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc index 948c624755..89ae309b63 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc @@ -3,9 +3,25 @@ [% PROCESS 'html_helpers.inc' %] [% IF context == "main" %]
-
+
+
    + [% PROCESS 'search-orders-1' %] +
+
+
+
    + [% PROCESS 'search-orders-2' %] +
+
+
+[% ELSE %] +
    + [% PROCESS 'search-orders-1' %] + [% PROCESS 'search-orders-2' %] +
      [% END %] -
        + +[% BLOCK 'search-orders-1' %]
      1. @@ -30,12 +46,8 @@ [% PROCESS options_for_libraries libraries => Branches.all(selected => '') %] -[% IF context == "main" %] -
      -
-
-
    [% END %] +[% BLOCK 'search-orders-2' %]
  1. @@ -114,11 +126,7 @@ [% FOREACH bp_loo IN bp_loop %] [% FOREACH h_loo IN bp_loo.hierarchy %] - [% IF h_loo.budget_id == filters.budget %] - [% END %] @@ -135,8 +143,4 @@
    [% INCLUDE 'date-format.inc' %]
  2. -
-[% IF context == "main" %] -
- [% END %]