Bugzilla – Attachment 54843 Details for
Bug 14434
OPAC should indicate to patrons that auto renewal will not work because hold has been placed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14434: Display "Not renewable (on hold)" in OPAC
Bug-14434-Display-Not-renewable-on-hold-in-OPAC.patch (text/plain), 3.20 KB, created by
Holger Meißner
on 2016-08-25 08:29:43 UTC
(
hide
)
Description:
Bug 14434: Display "Not renewable (on hold)" in OPAC
Filename:
MIME Type:
Creator:
Holger Meißner
Created:
2016-08-25 08:29:43 UTC
Size:
3.20 KB
patch
obsolete
>From 8d13cd63ec43b7127abe4d58df7eb0226a91b2f1 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Holger=20Mei=C3=9Fner?= <h.meissner.82@web.de> >Date: Thu, 11 Aug 2016 11:22:00 +0200 >Subject: [PATCH] Bug 14434: Display "Not renewable (on hold)" in OPAC >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch makes the OPAC display "Not renewable (on hold)" when >a hold is placed. > >Test plan: >1) Do not apply patch. >2) Issue an item with automatic renewal. >3) Issue an item with manual renewal. >4) Place a hold on both items. >5) Log in as patron and note that the column "Renew" says "Automatic > renewal (x of y renewals remaining)" for the auto renewed item > and "(On hold) for the other item. >6) Apply patch. >7) Refresh OPAC and note that now "Not renewable (on hold)" is displayed > for both items. >8) Cancel the holds, then log in as patron again and confirm that the > correct renewal conditions are displayed. > >Sponsored-by: Hochschule für Gesundheit (hsg), Germany >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index f2aad35..a3316ee 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -258,6 +258,8 @@ Using this account is not recommended because some parts of Koha will not functi > <input type="checkbox" name="item" value="[% ISSUE.itemnumber %]"/> <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=[% ISSUE.itemnumber %]&borrowernumber=[% ISSUE.borrowernumber %]">Renew</a> > [% END %] > <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span> >+ [% ELSIF ( ISSUE.on_reserve ) %] >+ Not renewable <span class="renewals">(on hold)</span> > [% ELSIF ( ISSUE.too_many ) %] > Not renewable > [% ELSIF ( ISSUE.norenew_overdue ) %] >@@ -268,8 +270,6 @@ Using this account is not recommended because some parts of Koha will not functi > [% ELSIF ( ISSUE.too_soon ) %] > No renewal before [% ISSUE.soonestrenewdate %] > <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span> >- [% ELSIF ( ISSUE.on_reserve ) %] >- <span class="renewals">(On hold)</span> > [% END %] > </td> > [% END %] >-- >1.7.10.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 14434
:
40486
|
54455
|
54512
|
54842
|
54843
|
54877
|
54915