Fix: Stats-Kotbeutel aus osm_pois statt user_map_pois (zeigt 125.750 statt 2)
This commit is contained in:
parent
129badf010
commit
6495a5ff6b
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ async def public_stats():
|
||||||
posts = conn.execute("SELECT COUNT(*) FROM forum_posts").fetchone()[0]
|
posts = conn.execute("SELECT COUNT(*) FROM forum_posts").fetchone()[0]
|
||||||
diary = conn.execute("SELECT COUNT(*) FROM diary").fetchone()[0]
|
diary = conn.execute("SELECT COUNT(*) FROM diary").fetchone()[0]
|
||||||
kotbeutel = conn.execute(
|
kotbeutel = conn.execute(
|
||||||
"SELECT COUNT(*) FROM user_map_pois WHERE type='kotbeutel'"
|
"SELECT COUNT(*) FROM osm_pois WHERE type='kotbeutel'"
|
||||||
).fetchone()[0]
|
).fetchone()[0]
|
||||||
data = {
|
data = {
|
||||||
"users": users,
|
"users": users,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue