From 9f81ef98dde94db549df75fded83810898e503c7 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Wed, 2 Mar 2016 16:52:13 -0500 Subject: [PATCH] LP#1275118 Holds history displays canceled holds as active Prior to this change, when a patron viewed holds history, canceled holds displayed as active. From the patron point of view, the hold is no longer active after it has been canceled. Signed-off-by: Terran McCanna Signed-off-by: Erica Rohlfs Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/opac/myopac/hold_history.tt2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 index c549bf4b51..3b8abb9310 100644 --- a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 +++ b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 @@ -102,7 +102,11 @@ END %] - [% l(ahr.frozen == 'f' ? 'Active' : 'Suspended') %] + [% IF hold.hold.status == 6 %] + [% l('Canceled') %] + [% ELSE %] + [% l(ahr.frozen == 'f' ? 'Active' : 'Suspended') %] + [% END %] [% IF ahr.fulfillment_time; -- 2.43.2