Show username in top-hunters in case display name not set

This commit is contained in:
Teemu Patja 2017-10-25 14:56:24 +03:00
parent eb820525bc
commit 785d5fb8e5
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ AND comment_hash = :hash;
SELECT
u.id AS user_id,
u.login AS login,
u.name AS user_name,
coalesce(u.name, u.login) AS user_name,
u.avatar_url AS avatar_url,
SUM(i.value_usd) AS total_usd
FROM issues i, users u, pull_requests pr