From 239b494db81ab674371c7326515c3fb0684d53ef Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 21 Dec 2015 15:31:33 -0500 Subject: [PATCH] Add M.Id as MonitorID --- scripts/ZoneMinder/lib/ZoneMinder/Filter.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm index b0cb61811..5bd1ddd86 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm @@ -183,6 +183,7 @@ sub Sql { if ( ! $$self{Sql} ) { my $filter_expr = ZoneMinder::General::jsonDecode( $self->{Query} ); my $sql = "SELECT E.*, + M.Id as MonitorId, M.Name as MonitorName, M.DefaultRate, M.DefaultScale,