[open-ils-commits] [GIT] Evergreen ILS branch master updated. 593cb0cbcf31e075eb91e793502b1315f99f3ce7

Evergreen Git git at git.evergreen-ils.org
Fri Mar 4 11:51:35 EST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  593cb0cbcf31e075eb91e793502b1315f99f3ce7 (commit)
      from  dc35906045b6438670eeb8d79ff2415992e56f05 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 593cb0cbcf31e075eb91e793502b1315f99f3ce7
Author: Terran McCanna <tmccanna at georgialibraries.org>
Date:   Wed Mar 2 12:16:43 2016 -0500

    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 <tmccanna at georgialibraries.org>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/templates/opac/parts/place_hold.tt2 b/Open-ILS/src/templates/opac/parts/place_hold.tt2
index 8fa5c44..55f1184 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 %]
                     <input type="hidden" name="hold_target" value="[% hdata.target.id | html %]" />
                     [% END %]
-                    <div class='hold-items-list-title'>[% attrs.title_extended | html %]</div>
+                    <div class='hold-items-list-title'>
+					    <!-- If hold is for grouped formats/editions (metarecord), show short title - else, show complete title --> 
+					    [% IF CGI.param('hold_type') == 'M' %]
+						    [% attrs.title | html %]
+						[% ELSE %]
+						    [% attrs.title_extended | html %]
+						[% END %]
+                    </div>
                     [% IF hdata.parts AND !this_hold_disallowed %]
                         [% IF hdata.parts.size > 0 %]
                         <div style='padding-left: 10px; padding-bottom: 15px;'>

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/parts/place_hold.tt2 |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list