diff --git a/app/db.py b/app/db.py index 77b224e28..031b8b50d 100644 --- a/app/db.py +++ b/app/db.py @@ -642,7 +642,7 @@ def get_pattern_analysis() -> dict: UNION ALL SELECT 'C', hand_type_c, count() FROM games WHERE hand_type_c > 0 GROUP BY hand_type_c - ORDER BY chair, ht + ORDER BY 1, 2 """) hand_types_by_chair = {"A": {}, "B": {}, "C": {}} for row in ht_result.result_rows: