[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. bc7da5135cd0f52f59e57c03b12b09efc745a75c
Evergreen Git
git at git.evergreen-ils.org
Fri Mar 4 11:55:23 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_8 has been updated
via bc7da5135cd0f52f59e57c03b12b09efc745a75c (commit)
from cdf5558e6d9a1eb6dfbd777bd3e30def488a760a (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 bc7da5135cd0f52f59e57c03b12b09efc745a75c
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 e9fc008..ee2d0b7 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'>
-----------------------------------------------------------------------
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