mirror of
https://github.com/grocy/grocy.git
synced 2025-10-13 17:02:38 +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 battery_id, MAX(tracked_time) AS last_tracked_time
|
||||
FROM battery_charge_cycles
|
||||
GROUP BY battery_id
|
||||
ORDER BY MAX(tracked_time) DESC
|
||||
|
Reference in New Issue
Block a user