Open j-marz opened 2 hours ago
Looks like playback uses the filter query and doesn't update the query when the event list sorting changes (e.g. change table sorting in event list view after running filter and before playback). Updating the event filter to sort by ID instead of start time seems to work (ie. doesn't skip events), but the side effect is the events don't technically play in chronological order.
in zms when it goes to get the next event, it uses the following SQL:
SELECT Id
FROM Events
WHERE MonitorId
= %d AND Id
> last_event_id ORDER BY Id
ASC LIMIT 1
So yeah, if the Ids are out of sync, it will mess up. It ignores the filter sort. In fact the filter is never passed to zms.
Which view is this? event view, or montage review?
Describe Your Environment
Describe the bug Playback of filtered events misses some events if the the next sequential event ID has a timestamp that is earlier than the next event ID. Changing the event list sorting doesn't resolve the issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior event playback honors the filter sorting and doesn't skip events
Debug Logs NA