From d8648ae4a73510357fb4394c4ed0bc7241f2c7f9 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Wed, 15 Feb 2023 11:51:08 +0100
Subject: [PATCH] count

---
 app/views/admin/research/publications/index.html.erb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/views/admin/research/publications/index.html.erb b/app/views/admin/research/publications/index.html.erb
index 164e21085..aa076147c 100644
--- a/app/views/admin/research/publications/index.html.erb
+++ b/app/views/admin/research/publications/index.html.erb
@@ -1,5 +1,4 @@
 <% content_for :title, Research::Publication.model_name.human(count: 2) %>
-
+<% content_for :title_right, "#{ @publications.total_count }" %>
 <%= render 'admin/research/publications/list', publications: @publications %>
-
 <%= paginate @publications, theme: 'bootstrap-5' %>
-- 
GitLab