Skip to content

Commit

Permalink
fix payment instrument counts in /admin/users
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Jan 29, 2025
1 parent d3219e6 commit 74c7565
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/admin/users.spt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ if mode == 'all':
) tip
) AS outgoing_donations
, ( SELECT json_objectagg(r.network:r.count)
FROM ( SELECT r.network, count(DISTINCT r.fingerprint) AS count
FROM ( SELECT r.network
, count(DISTINCT coalesce(r.fingerprint, r.address)) AS count
FROM exchange_routes r
WHERE r.participant = p.id
GROUP BY r.network
Expand Down

0 comments on commit 74c7565

Please sign in to comment.