From aa4b79988a3c7995b7c16f9682035aba5ef2dbe3 Mon Sep 17 00:00:00 2001 From: Teemu Patja Date: Thu, 21 Dec 2017 13:45:06 +0200 Subject: [PATCH] Top hunters UI tweak --- resources/sql/queries.sql | 4 ++-- src/cljs/commiteth/core.cljs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/sql/queries.sql b/resources/sql/queries.sql index afa10b7..e8a3115 100644 --- a/resources/sql/queries.sql +++ b/resources/sql/queries.sql @@ -558,7 +558,7 @@ AND comment_hash = :hash; -- :name top-hunters :? :* --- :doc list of user that have reveived bounty payouts with sum of +-- :doc top 5 list of users that have reveived bounty payouts with sum of -- earnings SELECT u.id AS user_id, @@ -573,7 +573,7 @@ AND u.id = pr.user_id AND i.payout_receipt IS NOT NULL GROUP BY u.id ORDER BY total_usd DESC -LIMIT 10; +LIMIT 5; -- :name bounties-activity :? :* diff --git a/src/cljs/commiteth/core.cljs b/src/cljs/commiteth/core.cljs index 8a90933..45bb1b8 100644 --- a/src/cljs/commiteth/core.cljs +++ b/src/cljs/commiteth/core.cljs @@ -215,7 +215,7 @@ (when (show-top-hunters?) [:div.six.wide.column.computer.only [:div.ui.container.top-hunters - [:h3.top-hunters-header "Top hunters"] + [:h3.top-hunters-header "Top 5 hunters"] [:div.top-hunters-subheader "All time"] [top-hunters]]])]] [footer]]])))