Bugzilla – Attachment 70541 Details for
Bug 17869
Don't show pick-up library for list of holds in OPAC account when there is only one branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17869 Holds location removal
Bug-17869-Holds-location-removal.patch (text/plain), 2.18 KB, created by
Grace
on 2018-01-16 03:15:28 UTC
(
hide
)
Description:
Bug 17869 Holds location removal
Filename:
MIME Type:
Creator:
Grace
Created:
2018-01-16 03:15:28 UTC
Size:
2.18 KB
patch
obsolete
>From 093d385b84d664bfc9d28703bb4103e41cde14cb Mon Sep 17 00:00:00 2001 >From: Grace Smyth <gracesmythh@gmail.com> >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 ) %] > <li class="branch"> > <label for="branch_[% bibitemloo.biblionumber %]">Pick up location:</label> > [% UNLESS ( bibitemloo.holdable ) %] >@@ -241,6 +242,7 @@ > [% END %] > [% END # / UNLESS bibitemloo.holdable %] > </li> >+ [% END %] > [% END # / IF bibitemloo.holdable && choose_branch %] > [% END # / UNLESS singleBranchMode %] > </ul> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17869
:
70541
|
72763
|
72805
|
76146
|
76252
|
76516