From: Terran McCanna Date: Wed, 2 Mar 2016 17:16:43 +0000 (-0500) Subject: LP#1454884 Hold placed on grouped metabib result displays wrong title X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8e0b745c1f03320a8e7b6dc361831d10cdc9a5fb;p=working%2FEvergreen.git 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 --- diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2 index 467e02b6e6..ec6bc609f9 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold.tt2 @@ -70,7 +70,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 %]