From: Jane Sandberg <sandbej@linnbenton.edu>
Date: Sat, 10 Feb 2018 16:22:20 +0000 (-0800)
Subject: LP1748649: Don't show bib call # in show_details mode
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7dab2aca633c03eb5484bc0930fdca81d97e1a7d;p=evergreen%2Fjoelewis.git

LP1748649: Don't show bib call # in show_details mode

Using "show more details" in the public catalog displays
a list of items associated with each bib in the results list --
and their call numbers. Consequently, when in that mode, it
is not necessary to separately display one of the bib call numbers
in the bib summary on the results page; this patch removes it.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---

diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2
index 432dffaa83..7063612fe6 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -184,7 +184,7 @@ END;
                                                        role="presentation"
                                                        title="[% l('Record Holdings Summary') %]"
                                                        class="table_no_border_space table_no_cell_pad table_no_border results_info_table">
-                                                        [% UNLESS rec.mmr_id %]
+                                                        [% UNLESS rec.mmr_id OR show_detail_view %]
                                                            [% IF args.holdings.size > 0 %]
                                                         <tr name='bib_cn_list' class='result_table_title_cell'>
                                                             <td valign='top'>