From b5861e14b35e191090b4bac406705c85bf2f58e4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 6 Dec 2018 13:58:44 -0300 Subject: [PATCH] Bug 21904: Hide libraries outside of the group in the header Fix typo To test: 1 - Create a library group with two libraries 2 - Enable hiding patron info for that group 3 - Find or create a patron at one of those libraries without view_borrower_infos_from_any_libraries permission (but with staff side permission) 4 - Sign in as that staff person 5 - Click 'Patrons' 6 - Click the [+] to expand search options 7 - Set the 'Library' dropdown to a library outside of the group 8 - Search --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index b56fab9a33..806fc710a5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -85,18 +85,12 @@

- [% SET branches = Branches.all( selected => branchcode_filter, only_my_group => 1 ) %] + [% SET branches = Branches.all( selected => branchcode_filter, only_from_group => 1 ) %]

-- 2.11.0