[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. f1fc62bc4f6163a4776eee7c2b102d113e6c16ea

Evergreen Git git at git.evergreen-ils.org
Fri Mar 4 11:57:46 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, rel_2_10 has been updated
       via  f1fc62bc4f6163a4776eee7c2b102d113e6c16ea (commit)
      from  c0531f2b9ef63085ceddc8e3061ec3c433f33746 (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 f1fc62bc4f6163a4776eee7c2b102d113e6c16ea
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