From c015a672ea649d54351afcc8736369889b7c13f7 Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 24 Oct 2023 09:07:20 +0200 Subject: [PATCH] don't show scheckbuch-people in stat --- src/model/stat.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/model/stat.rs b/src/model/stat.rs index 0344de3..994f91c 100644 --- a/src/model/stat.rs +++ b/src/model/stat.rs @@ -27,6 +27,7 @@ INNER JOIN ( FROM logbook l WHERE l.distance_in_km IS NOT NULL ) sub ON u.id = sub.user_id +WHERE u.is_guest = false GROUP BY u.name ORDER BY rowed_km DESC; ",