feat(product-suite): add grouped generation history
This commit is contained in:
@@ -1259,6 +1259,7 @@ def list_generation_rounds(project_id, *, limit=None, offset=0, path=None, conn=
|
||||
WHERE project_id = ?
|
||||
GROUP BY generation_round_key
|
||||
ORDER BY CASE WHEN generation_round_key IS NULL THEN 1 ELSE 0 END,
|
||||
MIN(created_at) DESC,
|
||||
MAX(id) DESC
|
||||
"""
|
||||
params = [project_id]
|
||||
|
||||
Reference in New Issue
Block a user