Bugzilla – Attachment 83933 Details for
Bug 22054
Display a nicer error message when trying to renew an on-site checkout from renew page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22054: Updated the error message for attempting to renew an onsite checkout
Bug-22054-Updated-the-error-message-for-attempting.patch (text/plain), 1.44 KB, created by
helene
on 2019-01-15 04:01:16 UTC
(
hide
)
Description:
Bug 22054: Updated the error message for attempting to renew an onsite checkout
Filename:
MIME Type:
Creator:
helene
Created:
2019-01-15 04:01:16 UTC
Size:
1.44 KB
patch
obsolete
>From 13869609afa273918ee039901b6c32bc6a598e4c Mon Sep 17 00:00:00 2001 >From: helene hickey <hickeyhe@wgc.school.nz> >Date: Tue, 15 Jan 2019 03:47:58 +0000 >Subject: [PATCH] Bug 22054: Updated the error message for attempting to renew > an onsite checkout > >To test: > >1) Enable OnSiteCheckouts system preference >2) Checkout an item checking the onsite checkout checkbos in more >options >3) Go to circulation > pending on-site checkouts >4) Verify the checkout shows >5) Go to circulation > renew >6) Try to renew the on-site checkout using the barcode >7) Verify display: > >onsite_checkout Continue without renewing > >8) apply the patch and reload page with error message >9) verify display: > >Item cannot be renewed because it's an onsite checkout >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt >index 78c0c698fe..c0542dbd0f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt >@@ -129,6 +129,9 @@ > > <p>Item is not allowed renewal.</p> > >+ [% ELSIF error == "onsite_checkout" %] >+ <p>Item cannot be renewed because it's an onsite checkout</p> >+ > [% ELSE %] > > [% error | html %] >-- >2.11.0
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 22054
:
83933
|
83960
|
83999