Bugzilla – Attachment 54455 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 "On hold" in OPAC for auto renewed items
Bug-14434-Display-On-hold-in-OPAC-for-auto-renewed.patch (text/plain), 2.24 KB, created by
Holger Meißner
on 2016-08-15 09:31:42 UTC
(
hide
)
Description:
Bug 14434: Display "On hold" in OPAC for auto renewed items
Filename:
MIME Type:
Creator:
Holger Meißner
Created:
2016-08-15 09:31:42 UTC
Size:
2.24 KB
patch
obsolete
>From 54e1aa14894a1eb7fe6e2790cb7bd826141f5507 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 "On hold" in OPAC for auto renewed items >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch makes the OPAC display "On hold" instead of "Automatic >renewal" when a hold is placed. > >Test plan: >1) Issue an item with automatic renewal. >2) Place a hold on the item. >3) Log in as patron and note that the column "Renew" says "Automatic > renewal (x of y renewals remaining)." >4) Apply patch. >5) Refresh OPAC and note that now "On hold" is displayed. >6) Cancel the hold, then log in as patron again and note that now > "Automatic renewal (x of y renewals remaining)" is displayed > once again. > >Sponsored-by: Hochschule für Gesundheit (hsg), Germany >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 2 ++ > 1 file changed, 2 insertions(+) > >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..042ca4f 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 ) %] >+ On hold > [% ELSIF ( ISSUE.too_many ) %] > Not renewable > [% ELSIF ( ISSUE.norenew_overdue ) %] >-- >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