bugfix order reports
This commit is contained in:
parent
b1f6d23e69
commit
de9d042c2a
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ AND EXTRACT(MONTH FROM e.date) = EXTRACT(MONTH FROM CURRENT_DATE())
|
||||||
GROUP BY
|
GROUP BY
|
||||||
c.category_id, c.name
|
c.category_id, c.name
|
||||||
ORDER BY
|
ORDER BY
|
||||||
summe_je_kategorie DESC;
|
c.category_id ASC;
|
||||||
";
|
";
|
||||||
|
|
||||||
$stmt = $pdo->prepare($sql);
|
$stmt = $pdo->prepare($sql);
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ AND e.category IN (1, 2, 3)
|
||||||
GROUP BY
|
GROUP BY
|
||||||
un.zahler
|
un.zahler
|
||||||
ORDER BY
|
ORDER BY
|
||||||
summe_je_person DESC;
|
un.zahler ASC;
|
||||||
";
|
";
|
||||||
|
|
||||||
$stmt = $pdo->prepare($sql);
|
$stmt = $pdo->prepare($sql);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue