From 87e8a5222f6b448e2466d703509f8b0c93379bbc Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 21 Jan 2025 16:07:54 +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. Signed-off-by: Barbara Johnson --- admin/columns_settings.yml | 2 ++ .../intranet-tmpl/prog/en/modules/members/holdshistory.tt | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index f0f50415fa..8ff2c4d876 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1412,6 +1412,8 @@ modules: columnname: itemtype - columnname: status + - + columnname: reservenote 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 f224391bec..a8786957b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt @@ -72,6 +72,7 @@ Requested item type [% END %] Status + Hold note @@ -119,6 +120,9 @@ Pending [% END %] + + [% hold.reservenotes | html %] + [% END %] -- 2.39.5