From ec9b8fe286956effb6ce4630f90f61d6f7d74970 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 1 Apr 2020 13:39:13 +0000 Subject: [PATCH] Bug 25033: Move branchfilter to top of page There is confusion becase it is not obvious when the suggestions page is being limited to a branch Moving the branch filter to the top of the page makes it easier to see To test: 1 - Apply patch 2 - From mainpage or acqui-home note the link to suggestions takes you to suggestions limited to current branch 3 - Change the dropdown 4 - Note the page refreshes and loads the correct suggestions --- .../prog/en/modules/suggestion/suggestion.tt | 36 ++++++++++------------ 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index a430fd5d04..30f212243d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -424,16 +424,6 @@
Acquisition information
    -
  1. - -
  2. + + [% IF branchfilter %] + [% PROCESS options_for_libraries libraries => Branches.all( selected => branchfilter ) %] + [% ELSE %] + [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %] + [% END %] + + [% FOR m IN messages %]
    @@ -734,6 +734,7 @@