From cb200023a4108b2027040f8f75712c7e0bed1a90 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- 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 483f026453..cd35d2dc92 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -21,6 +21,9 @@ [% IF ( showpriority ) %] Priority [% END %] + [% IF Koha.Preference('OpacHoldNotes') %] + Notes + [% END %] Status [% IF SuspendHoldsOpac and ! onlyinfo %] Suspend @@ -126,6 +129,9 @@ [% HOLD.priority | html %] [% END %] + [% IF Koha.Preference('OpacHoldNotes') %] + [% HOLD.reservenotes | html | html_line_break %] + [% END %] Status: [% IF ( HOLD.is_waiting ) %] -- 2.39.5