Bugzilla – Attachment 177795 Details for
Bug 38939
Add reservenote to members/holdshistory.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38939: Add reservenote column to members/holdshistory.pl
Bug-38939-Add-reservenote-column-to-membersholdshi.patch (text/plain), 2.63 KB, created by
Lucas Gass (lukeg)
on 2025-02-11 21:28:33 UTC
(
hide
)
Description:
Bug 38939: Add reservenote column to members/holdshistory.pl
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-02-11 21:28:33 UTC
Size:
2.63 KB
patch
obsolete
>From a0e9b9c9dc7056004c73f99b681a80f0be7b036e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 11 Feb 2025 21:27:14 +0000 >Subject: [PATCH] Bug 38939: Add reservenote column to members/holdshistory.pl > >To test: >1. APPLY PATCH, restart_all >2. Make some holds for patrons in both the staff client and the OPAC. ( For OPAC turn on OpacHoldNotes ) >3. Make sure you add some notes to each of these holds. >4. Go to the patron account and click on the 'Holds history' tab. >5. Make sure the hold note is there and looks correct. >6. Ensure you can hide the coluimn properly via Table settings. >--- > admin/columns_settings.yml | 2 ++ > .../prog/en/modules/members/holdshistory.tt | 10 ++++++++++ > 2 files changed, 12 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 2a632acc25b..8b1a3d2b8fb 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1412,6 +1412,8 @@ modules: > columnname: itemtype > - > columnname: status >+ - >+ columnname: notes > > checkouthistory: > checkouthistory-table: >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 f4da8b21105..6c5003f75ce 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,7 @@ > <th>Requested item type</th> > [% END %] > <th>Status</th> >+ <th>Notes</th> > </tr> > </thead> > </table> >@@ -141,6 +142,7 @@ > <th>Requested item type</th> > [% END %] > <th>Status</th> >+ <th>Notes</th> > </tr> > </thead> > </table> >@@ -324,6 +326,14 @@ > return _("Pending"); > } > }, >+ { >+ data: "notes", >+ searchable: true, >+ orderable: true, >+ render: function (data, type, row, meta) { >+ return row.notes; >+ } >+ }, > ], > }, table_settings, true, additional_filters); > } >-- >2.39.5
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 38939
:
176872
|
176938
|
177795
|
180446