[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. 2a256aed64ba2310926361f92e67b880dd6cf956

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_8 has been updated
       via  2a256aed64ba2310926361f92e67b880dd6cf956 (commit)
      from  b69c2b09d3bae790ecb80cf62e33de44eba24f0a (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 2a256aed64ba2310926361f92e67b880dd6cf956
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 6cbe41e..bb9c472 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 %]
                                                         <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')
@@ -175,7 +177,8 @@ END;
                                                             OR show_more_details.default == 'hide');
                                                         -%]
                                                         <!-- 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">
@@ -302,6 +305,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