mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 09:46:03 +00:00
Don't use ORDER BY in VIEWS (as this is invalid SQL, why does this even work sometimes in SQLite) (fixes #33)
This commit is contained in:
@@ -3,4 +3,3 @@ AS
|
||||
SELECT habit_id, MAX(tracked_time) AS last_tracked_time
|
||||
FROM habits_log
|
||||
GROUP BY habit_id
|
||||
ORDER BY MAX(tracked_time) DESC
|
||||
|
Reference in New Issue
Block a user