Add M.Id as MonitorID

This commit is contained in:
Isaac Connor 2015-12-21 15:31:33 -05:00
parent 07260adb2a
commit 239b494db8
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ sub Sql {
if ( ! $$self{Sql} ) { if ( ! $$self{Sql} ) {
my $filter_expr = ZoneMinder::General::jsonDecode( $self->{Query} ); my $filter_expr = ZoneMinder::General::jsonDecode( $self->{Query} );
my $sql = "SELECT E.*, my $sql = "SELECT E.*,
M.Id as MonitorId,
M.Name as MonitorName, M.Name as MonitorName,
M.DefaultRate, M.DefaultRate,
M.DefaultScale, M.DefaultScale,