From: Terran McCanna Date: Wed, 2 Mar 2016 21:52:13 +0000 (-0500) Subject: LP#1275118 Holds history displays canceled holds as active X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0726f21ecca8ec80afecde14def6d4885ae3563e;p=working%2FEvergreen.git 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 --- diff --git a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 index 8412f42ddb..bffb716aea 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;