Bugzilla – Attachment 162309 Details for
Bug 36138
Add cancellation reason to the status column on the OPAC hold history page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36138: Add reason to status column on opac-holdshistory, if there is a reason
Bug-36138-Add-reason-to-status-column-on-opac-hold.patch (text/plain), 2.17 KB, created by
Lucas Gass (lukeg)
on 2024-02-20 20:52:54 UTC
(
hide
)
Description:
Bug 36138: Add reason to status column on opac-holdshistory, if there is a reason
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-02-20 20:52:54 UTC
Size:
2.17 KB
patch
obsolete
>From 65a22ab86c547305249535469485f4aedf5a23a3 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 20 Feb 2024 20:49:29 +0000 >Subject: [PATCH] Bug 36138: Add reason to status column on opac-holdshistory, > if there is a reason > >TO TEST: >1. Turn on OPACHoldsHistory >2. Make some holds for a patron and then cancel them with a reason. >3. Log in as that patron and go to the 'Holds history' tab. Notice the text in the 'Status' column is 'Cancelled' but nothing shows up regarding the reason. >4. Apply patch and try again, this time you should see the reason for cancellation. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >index 224c5441ea..06d97bb793 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt >@@ -5,6 +5,7 @@ > [% USE TablesSettings %] > [% USE ItemTypes %] > [% USE AdditionalContents %] >+[% USE AuthorisedValues %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > >@@ -147,6 +148,9 @@ > <span>Fulfilled</span> > [% ELSIF hold.cancellationdate %] > <span>Cancelled</span> >+ [% IF hold.cancellation_reason %] >+ ([% AuthorisedValues.GetByCode('HOLD_CANCELLATION', hold.cancellation_reason, 1) | html %]) >+ [% END %] > [% ELSIF hold.found == 'W' %] > [% IF hold.cancellation_requests.count == 0 %] > <span>Waiting</span> >-- >2.30.2
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 36138
:
162309
|
162404
|
162425