From 093d385b84d664bfc9d28703bb4103e41cde14cb Mon Sep 17 00:00:00 2001 From: Grace Smyth Date: Tue, 16 Jan 2018 03:07:21 +0000 Subject: [PATCH] Bug 17869 Holds location removal Test Plan [1.] Type in browser http://localhost:8080/ (If you aren't logged in then log in) [2.] Then search for anything and click on the link 'Place hold' which is directly underneath the stars for an item [3.] Notice that there is a pick up location with only one location [4.] Load the patch and now notice that there is no location (as it is not necessary with only one location) --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index 0f2f4eb..04004d5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -215,6 +215,7 @@ [% UNLESS ( singleBranchMode ) %] [% IF ( bibitemloo.holdable && choose_branch ) %] + [% UNLESS ( Branches.all.size ==1 ) %]
  • [% UNLESS ( bibitemloo.holdable ) %] @@ -241,6 +242,7 @@ [% END %] [% END # / UNLESS bibitemloo.holdable %]
  • + [% END %] [% END # / IF bibitemloo.holdable && choose_branch %] [% END # / UNLESS singleBranchMode %] -- 2.1.4