mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 20:11:16 +00:00
Remove unneeded ORDER BY as this maybe lead to problems like in #33
This commit is contained in:
@@ -3,4 +3,3 @@ AS
|
||||
SELECT product_id, SUM(amount) AS amount, MIN(best_before_date) AS best_before_date
|
||||
FROM stock
|
||||
GROUP BY product_id
|
||||
ORDER BY MIN(best_before_date) ASC
|
||||
|
Reference in New Issue
Block a user