fix: assign order_by() return value in GET /api/v3/games (#24) #39

Merged
cal merged 1 commits from ai/major-domo-database-24 into main 2026-03-03 01:29:29 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
8143913aa2 fix: assign order_by() return value in GET /api/v3/games (#24)
All checks were successful
Build Docker Image / build (pull_request) Successful in 4m41s
Peewee's order_by() returns a new queryset and does not sort in place.
Both branches were discarding the result, so the sort parameter had no
effect. Assign back to all_games so the query is actually ordered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 19:03:21 -06:00