From 593cb0cbcf31e075eb91e793502b1315f99f3ce7 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Wed, 2 Mar 2016 12:16:43 -0500 Subject: [PATCH] LP#1454884 Hold placed on grouped metabib result displays wrong title Prior to this change, a full/extended title displayed even on metarecord holds that had different extended titles, which sometimes led to situations where a video's full title displayed on a book hold, or vice versa. This change displays the short version of the title on metarecord holds and the full version on individual record holds. Signed-off-by: Terran McCanna Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/opac/parts/place_hold.tt2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2 index 8fa5c44a3f..55f11848db 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -81,7 +81,14 @@ [% IF !this_hold_disallowed %] [% END %] -
[% attrs.title_extended | html %]
+
+ + [% IF CGI.param('hold_type') == 'M' %] + [% attrs.title | html %] + [% ELSE %] + [% attrs.title_extended | html %] + [% END %] +
[% IF hdata.parts AND !this_hold_disallowed %] [% IF hdata.parts.size > 0 %]
-- 2.43.2