From 698546434c6cca5a9dd247d01190e7944083ce99 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 23 May 2013 08:28:32 -0700 Subject: [PATCH] bug 9722: (followup) allow patrons to see hold notes in their summary If we allow patrons to set them, we should let them see them as well. Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 2 ++ opac/opac-user.pl | 1 + 2 files changed, 3 insertions(+) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt index 8b765f6b09..f1d34353e8 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt @@ -359,6 +359,7 @@ $.tablesorter.addParser({ Title Placed on + [% IF OpacShowHoldNotes %]Notes[% END %] Expires on Pick up location [% IF ( showpriority ) %] @@ -386,6 +387,7 @@ $.tablesorter.addParser({ [% RESERVE.author %] [% RESERVE.reservedate | $KohaDates %] + [% IF OpacShowHoldNotes %][% RESERVE.reservenotes %][% END %] [% IF ( RESERVE.expirationdate ) %][% RESERVE.expirationdate | $KohaDates %][% ELSE %]Never expires[% END %] [% RESERVE.branch %] [% IF ( showpriority ) %] diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 750a9c34e9..bb976f6eac 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -364,6 +364,7 @@ $template->param( $template->param( SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'), AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), + OpacShowHoldNotes => C4::Context->preference('OpacShowHoldNotes'), ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.39.5