From de9d042c2acd4461c0c62436b9ffb35e7d6a41ae Mon Sep 17 00:00:00 2001 From: fds2610 Date: Fri, 16 Jan 2026 15:59:02 +0100 Subject: [PATCH] bugfix order reports --- html/rep-month.php | 2 +- html/rep-person.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/rep-month.php b/html/rep-month.php index b6d60e1..7e5fe70 100644 --- a/html/rep-month.php +++ b/html/rep-month.php @@ -34,7 +34,7 @@ AND EXTRACT(MONTH FROM e.date) = EXTRACT(MONTH FROM CURRENT_DATE()) GROUP BY c.category_id, c.name ORDER BY -summe_je_kategorie DESC; +c.category_id ASC; "; $stmt = $pdo->prepare($sql); diff --git a/html/rep-person.php b/html/rep-person.php index 6a17c3a..abe69e9 100644 --- a/html/rep-person.php +++ b/html/rep-person.php @@ -42,7 +42,7 @@ AND e.category IN (1, 2, 3) GROUP BY un.zahler ORDER BY -summe_je_person DESC; +un.zahler ASC; "; $stmt = $pdo->prepare($sql);