LP#1783602: Remove copy counts from mr search results page
authorKathy Lussier <klussier@masslnc.org>
Wed, 25 Jul 2018 15:51:06 +0000 (11:51 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 6 Nov 2018 15:06:41 +0000 (10:06 -0500)
The copy counts on the mr search results page can be wrong if a limiter was
applied to the metarecord search. Rather than supply inaccurate information to
the user, let's remove the counts from that page until a long-term solution can
be developed.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/parts/result/table.tt2

index 77a27f6..63b4980 100644 (file)
@@ -401,7 +401,9 @@ END;
                                                             INCLUDE "opac/parts/ebook_api/avail.tt2";
                                                         END;
                                                     %]
-                                                    [% PROCESS "opac/parts/result/copy_counts.tt2" %]
+                                                    [% UNLESS rec.mmr_id;
+                                                            PROCESS "opac/parts/result/copy_counts.tt2";
+                                                        END; %]
                                                     [% IF rec.user_circulated %]
                                                     <div class="result_item_circulated">
                                                         <img src="[% ctx.media_prefix %]/images/green_check.png[% ctx.cache_key %]" alt="[% l('Checked Out Before') %]"/>