From 68b765a8ed93e56767a55d1875ce5e276db653e6 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 baebf636b6..75a5b87725 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 %] [% l('Call number:') %] [% args.holdings.0.label | html %] + [% END %] [% END %] [% IF CGI.param('detail_record_view') %] - + [% UNLESS rec.mmr_id %] + [% IF attrs.publisher %] @@ -297,6 +300,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