about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-03 07:59:52 +0200
committerGitHub <noreply@github.com>2019-09-03 07:59:52 +0200
commitec1dd865fb09de2505e24001bdb5f3ac82f34a43 (patch)
tree6cb609dc436e4c238aeb3fb0eccf1b68dff0382c
parentd19d86fe2b26fb00577d600234c32d726fb199a4 (diff)
Fix error in admin UI for hashtag usage breakdown (#11743)
-rw-r--r--app/views/admin/tags/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/tags/show.html.haml b/app/views/admin/tags/show.html.haml
index f9677874a..d54a43c1e 100644
--- a/app/views/admin/tags/show.html.haml
+++ b/app/views/admin/tags/show.html.haml
@@ -38,7 +38,7 @@
 .table-wrapper
   %table.table
     %tbody
-      - total = @usage_by_domain.sum(&:statuses_count).to_f
+      - total = @usage_by_domain.sum(&:last).to_f
 
       - @usage_by_domain.each do |(domain, count)|
         %tr