diff --git a/config/aggregation.json b/config/aggregation.json index 33e006b3..d4925ecd 100644 --- a/config/aggregation.json +++ b/config/aggregation.json @@ -17,7 +17,8 @@ } } } - } + }, + "track_total_hits": true }, "images": { "aggs": { diff --git a/lib/philomena_web/templates/stat/index.html.slime b/lib/philomena_web/templates/stat/index.html.slime index fd5a9a55..786bc55b 100644 --- a/lib/philomena_web/templates/stat/index.html.slime +++ b/lib/philomena_web/templates/stat/index.html.slime @@ -1,5 +1,3 @@ -h1 Site Statistics - elixir: img_bucket = @image_aggs["aggregations"] cmt_bucket = @comment_aggs["aggregations"]