From 5c5535d887bb029f93ba337f88351ad16141dd39 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Fri, 29 Nov 2019 17:48:04 -0500 Subject: [PATCH] use correct bucket --- lib/philomena_web/templates/stat/index.html.slime | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/philomena_web/templates/stat/index.html.slime b/lib/philomena_web/templates/stat/index.html.slime index aae4ec9a..b134cb19 100644 --- a/lib/philomena_web/templates/stat/index.html.slime +++ b/lib/philomena_web/templates/stat/index.html.slime @@ -41,16 +41,16 @@ elixir: h3 Votes p ' Out of - => number_with_delimiter(img_bucket["doc_count"]) + => number_with_delimiter(img_bucket["non_deleted"]["doc_count"]) ' images, span.stat> - = number_with_delimiter(img_bucket["score_gt_0"]["doc_count"]) + = number_with_delimiter(img_bucket["non_deleted"]["score_gt_0"]["doc_count"]) ' images have a score above 0, and span.stat> - = number_with_delimiter(img_bucket["score_lt_0"]["doc_count"]) + = number_with_delimiter(img_bucket["non_deleted"]["score_lt_0"]["doc_count"]) ' images have a score below 0. span.stat> - = number_with_delimiter(img_bucket["faves_gt_0"]["doc_count"]) + = number_with_delimiter(img_bucket["non_deleted"]["faves_gt_0"]["doc_count"]) ' images have been faved by at least one user. h3 Forums