mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-06 17:31:58 -04:00
ajax/frames.php collected Frames.Id values from the event's rows and then filtered with a FrameId IN (...) term, which FilterTerm translated to Id IN (...). The search query had no EventId condition of its own. Once the term matches on FrameId, which is only unique within an event, it returns rows from every event, so the query is now anchored on the event with the same WHERE EventId clause as the unfiltered list. FilterTerm now maps FrameId to the FrameId column. The frames list thumbnail links address the image by eid and fid instead of Frames.Id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>