Bugzilla – Attachment 108987 Details for
Bug 26281
Add cancellation reason to holds history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26281: Add cancellation reason to holds history
Bug-26281-Add-cancellation-reason-to-holds-history.patch (text/plain), 1.43 KB, created by
Kyle M Hall (khall)
on 2020-08-24 13:25:49 UTC
(
hide
)
Description:
Bug 26281: Add cancellation reason to holds history
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-08-24 13:25:49 UTC
Size:
1.43 KB
patch
obsolete
>From 76d502744e6021974a824cad49675e41cf218fd2 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 24 Aug 2020 09:22:24 -0400 >Subject: [PATCH] Bug 26281: Add cancellation reason to holds history > >Bug 25534 adds the ability to store the cancellation reason when a hold >is cancelled and communicate it to the user. It would be great if the >cancellation reason could also be shown on the holds history. > >Test Plan: >1) Apply this patch >2) Cancel a hold with a reason >4) Browse to holds history for the holds' patron >5) Note the reason shows in the status column if one was provided >--- > .../intranet-tmpl/prog/en/modules/members/holdshistory.tt | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >index 0e8ab42403..06c0cca049 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >@@ -97,6 +97,9 @@ > Fulfilled > [% ELSIF hold.cancellationdate %] > Cancelled >+ [% IF hold.cancellation_reason %] >+ ([% AuthorisedValues.GetByCode('HOLD_CANCELLATION', hold.cancellation_reason) %]) >+ [% END %] > [% ELSIF hold.found == 'W' %] > Waiting > [% ELSIF hold.found == 'T' %] >-- >2.24.1 (Apple Git-126)
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 26281
:
108987
|
109072
|
109207