From fa124fb96587e8ec150942ac828e343f0a597386 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 26 May 2023 11:02:51 +0000 Subject: [PATCH] Bug 33845: Display hold notes in OPAC This patch adds the holds notes to the patron's account holds list 1 - Ensure system preference 'OpacHoldNotes' is enabled 2 - Place a hold on the OPAC and add a note 3 - Confirm the note displays on the Summary page Holds tab of 'Your account' 4 - In staff client, disable system preference 'OpacHoldNotes' 5 - View Holds on patron's account in opac 6 - Confirm the note no longer shows Signed-off-by: Andrew Fuerste-Henry --- koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc index 973332fd29..afec482936 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -23,6 +23,9 @@ [% IF ( showpriority ) %] Priority [% END %] + [% IF Koha.Preference('OpacHoldNotes') %] + Notes + [% END %] Status [% IF SuspendHoldsOpac and ! onlyinfo %] Suspend @@ -127,6 +130,9 @@ [% HOLD.priority | html %] [% END %] + [% IF Koha.Preference('OpacHoldNotes') %] + [% HOLD.reservenotes | html | html_line_break %] + [% END %] Status: [% IF ( HOLD.is_waiting ) %] -- 2.30.2