From 8f74b164c8ba012375fec51950c10963626cf6fc Mon Sep 17 00:00:00 2001 From: Kathy Lussier <klussier@masslnc.org> Date: Wed, 25 Jul 2018 11:51:06 -0400 Subject: [PATCH] LP#1783602: Remove copy counts from mr search results page 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index 77a27f60fc..63b4980360 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -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') %]"/> -- 2.11.0