]> git.ipfire.org Git - dbl.git/commitdiff
reports: Fix wrong database field when fetching multiple reports
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 Feb 2026 17:03:33 +0000 (17:03 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 16 Feb 2026 17:03:33 +0000 (17:03 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/dbl/reports.py

index aff8eb06c181f9a945c392e974171663d25f27fc..1fa3ac9c546306fbf3c099e62a8c9f53c6a6179e 100644 (file)
@@ -45,7 +45,7 @@ class Reports(object):
                                Report.closed_at == None,
                        )
                        .order_by(
-                               Report.created_at,
+                               Report.reported_at,
                        )
                )