From 7cfbd3a6506a2b44155310db0e4fffb70d287155 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Mon, 18 Oct 2021 17:09:46 +0200
Subject: [PATCH] total

---
 app/views/admin/communication/websites/import.html.erb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/admin/communication/websites/import.html.erb b/app/views/admin/communication/websites/import.html.erb
index 4bceaded8..a3ba7cf48 100644
--- a/app/views/admin/communication/websites/import.html.erb
+++ b/app/views/admin/communication/websites/import.html.erb
@@ -8,7 +8,7 @@
 
 <div class="card">
   <div class="card-header">
-    <h2><%= @imported_posts.count %> posts</h2>
+    <h2><%= @imported_posts.total_count %> posts</h2>
   </div>
   <table class="<%= table_classes %>">
     <thead>
@@ -39,7 +39,7 @@
 
 <div class="card mt-5">
   <div class="card-header">
-    <h2><%= @imported_pages.count %> pages</h2>
+    <h2><%= @imported_pages.total_count %> pages</h2>
   </div>
   <table class="<%= table_classes %>">
     <thead>
-- 
GitLab