From d80b2eeae9e464456ccfc6dd7df575924ac3f6a0 Mon Sep 17 00:00:00 2001 From: Sonja Mathias Date: Mon, 25 Sep 2023 16:03:21 +0200 Subject: [PATCH] Do not display total count when browsing items --- app/views/assets/_resource_counts.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/assets/_resource_counts.html.erb b/app/views/assets/_resource_counts.html.erb index 320e73143a..82075099df 100644 --- a/app/views/assets/_resource_counts.html.erb +++ b/app/views/assets/_resource_counts.html.erb @@ -6,7 +6,8 @@ <%= resource_text %> matching the given criteria: <%= link_to("(Clear all filters)", page_and_sort_params.merge(filter: nil)) %> <% elsif @total_count && controller_model.authorization_supported? %> - <%= resource_text %> visible to you, out of a total of <%= @total_count %> + + <%= resource_text %> visible to you <% else %> <%= resource_text %> found <% end %>