From 2a256aed64ba2310926361f92e67b880dd6cf956 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Wed, 27 May 2015 22:11:49 -0400 Subject: [PATCH] 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 Signed-off-by: Andrea Neiman Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/parts/result/table.tt2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index 6cbe41e02c..bb9c47228b 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -161,13 +161,15 @@ 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 %] [% l('Call number:') %] [% args.holdings.0.label | html %] + [% END %] [% END %] [%- IF CGI.param('detail_record_view') @@ -175,7 +177,8 @@ END; OR show_more_details.default == 'hide'); -%] - + [% UNLESS rec.mmr_id %] + [% IF attrs.publisher %] @@ -302,6 +305,7 @@ END; [% uri.link | html %][% ' - ' _ uri.note | html IF uri.note %] [% END %] + [% END %] [%- IF args.holdings.size > 0; FOREACH copy IN args.holdings; IF copy.part_label != ''; -- 2.11.0