[open-ils-commits] [GIT] Evergreen ILS branch rel_2_7 updated. 68b765a8ed93e56767a55d1875ce5e276db653e6
Evergreen Git
git at git.evergreen-ils.org
Wed Jun 10 21:14:25 EDT 2015
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_7 has been updated
via 68b765a8ed93e56767a55d1875ce5e276db653e6 (commit)
from ad9d7cfc8291908ed0b95cc1097ae31d25bd5805 (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 68b765a8ed93e56767a55d1875ce5e276db653e6
Author: Kathy Lussier <klussier at masslnc.org>
Date: Wed May 27 22:11:49 2015 -0400
LP#1403966: Remove publication-specific information from metarecord results page
The records that make up a matarecord search result typically contain different
publication information. Therefore, we should remove the master record's
specific publication information from that search results page.
Test plan
Prior to loading the patch, conduct a search on the Concerto dataset
for "brahms piano concerto no. 1" with "Group Formats and Editions" turned on.
In the brief view, you will see a call number and, in the more details view, you
will see publisher and physical description information. Run the same search
after loading the patch, and you will no longer see that information.
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
Signed-off-by: Andrea Neiman <aneiman at kent.lib.md.us>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2
index baebf63..75a5b87 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -159,18 +159,21 @@ END;
role="presentation"
title="[% l('Record Holdings Summary') %]"
class="table_no_border_space table_no_cell_pad table_no_border results_info_table">
- [% IF args.holdings.size > 0 %]
+ [% UNLESS rec.mmr_id %]
+ [% IF args.holdings.size > 0 %]
<tr name='bib_cn_list' class='result_table_title_cell'>
<td valign='top'>
<strong>[% l('Call number:') %]</strong>
</td>
<td>[% args.holdings.0.label | html %]</td>
</tr>
+ [% END %]
[% END %]
[% IF CGI.param('detail_record_view') %]
<!-- These fields are visible when viewing the results page in 'detailed' mode -->
-
+ [% UNLESS rec.mmr_id %]
+ <!-- Do not show publication-specific information on a metarecord search results page -->
[% IF attrs.publisher %]
<tr name="results_pub_tr">
<td valign="top">
@@ -297,6 +300,7 @@ END;
<td><a href="[% uri.href %]">[% uri.link | html %]</a>[% ' - ' _ uri.note | html IF uri.note %]</td>
</tr>
[% END %]
+ [% END %]
[%- IF args.holdings.size > 0;
FOREACH copy IN args.holdings;
IF copy.part_label != '';
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/parts/result/table.tt2 | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list