Resource Pool fixed
Dieser Commit ist enthalten in:
@@ -94,15 +94,22 @@ def resources():
|
||||
})
|
||||
|
||||
# Statistiken
|
||||
cur.execute("""
|
||||
stats_query = """
|
||||
SELECT
|
||||
resource_type,
|
||||
status,
|
||||
is_test,
|
||||
COUNT(*) as count
|
||||
FROM resource_pools
|
||||
GROUP BY resource_type, status, is_test
|
||||
""")
|
||||
"""
|
||||
|
||||
# Apply test filter to statistics as well
|
||||
if not show_test:
|
||||
stats_query += " WHERE is_test = false"
|
||||
|
||||
stats_query += " GROUP BY resource_type, status, is_test"
|
||||
|
||||
cur.execute(stats_query)
|
||||
|
||||
stats = {}
|
||||
for row in cur.fetchall():
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren