LP1748649: Don't show bib call # in show_details mode
authorJane Sandberg <sandbej@linnbenton.edu>
Sat, 10 Feb 2018 16:22:20 +0000 (08:22 -0800)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 30 Apr 2018 19:38:33 +0000 (15:38 -0400)
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>
Open-ILS/src/templates/opac/parts/result/table.tt2

index 432dffa..7063612 100644 (file)
@@ -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'>