mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 03:35:26 +03:00
Fix data sorting
This commit is contained in:
parent
afb9997c7d
commit
e110a7d11d
@ -724,6 +724,7 @@ def hourly_timeline_activity(camera_name: str):
|
||||
.where(Recordings.camera == camera_name)
|
||||
.where(Recordings.motion > 0)
|
||||
.where((Recordings.start_time > after) & (Recordings.end_time < before))
|
||||
.order_by(Recordings.start_time.asc())
|
||||
.iterator()
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user