From 6495a5ff6bdf31d14d01c82c9e81fb704e9af737 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 14 May 2026 22:45:50 +0200 Subject: [PATCH 1/2] Fix: Stats-Kotbeutel aus osm_pois statt user_map_pois (zeigt 125.750 statt 2) --- backend/routes/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/stats.py b/backend/routes/stats.py index cfaecca..e276ca6 100644 --- a/backend/routes/stats.py +++ b/backend/routes/stats.py @@ -38,7 +38,7 @@ async def public_stats(): posts = conn.execute("SELECT COUNT(*) FROM forum_posts").fetchone()[0] diary = conn.execute("SELECT COUNT(*) FROM diary").fetchone()[0] kotbeutel = conn.execute( - "SELECT COUNT(*) FROM user_map_pois WHERE type='kotbeutel'" + "SELECT COUNT(*) FROM osm_pois WHERE type='kotbeutel'" ).fetchone()[0] data = { "users": users, From c032b9a3fbb25a4c81e0578688d5fabf735e89bd Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 14 May 2026 22:47:14 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Fix:=20Stats-Kotbeutel=20=E2=86=92=20waste?= =?UTF-8?q?=5Fbasket=20Typ=20in=20osm=5Fpois=20(zeigt=20echte=20M=C3=BClle?= =?UTF-8?q?imer-Zahl)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/routes/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/stats.py b/backend/routes/stats.py index e276ca6..985a883 100644 --- a/backend/routes/stats.py +++ b/backend/routes/stats.py @@ -38,7 +38,7 @@ async def public_stats(): posts = conn.execute("SELECT COUNT(*) FROM forum_posts").fetchone()[0] diary = conn.execute("SELECT COUNT(*) FROM diary").fetchone()[0] kotbeutel = conn.execute( - "SELECT COUNT(*) FROM osm_pois WHERE type='kotbeutel'" + "SELECT COUNT(*) FROM osm_pois WHERE type='waste_basket'" ).fetchone()[0] data = { "users": users,