tabs to spaces

This commit is contained in:
Isaac Connor 2015-08-27 11:10:13 -04:00
parent 53159ed12c
commit 80a294da34
1 changed files with 11 additions and 11 deletions

View File

@ -349,10 +349,10 @@ sub getFilters
my ( $temp_attr_name ) = $filter_expr->{terms}[$i]->{attr} =~ /^Monitor(.+)$/; my ( $temp_attr_name ) = $filter_expr->{terms}[$i]->{attr} =~ /^Monitor(.+)$/;
$db_filter->{Sql} .= "M.".$temp_attr_name; $db_filter->{Sql} .= "M.".$temp_attr_name;
} }
elsif ( $filter_expr->{terms}[$i]->{attr} eq 'ServerId' ) elsif ( $filter_expr->{terms}[$i]->{attr} eq 'ServerId' )
{ {
$db_filter->{Sql} .= "M.ServerId"; $db_filter->{Sql} .= "M.ServerId";
} }
elsif ( $filter_expr->{terms}[$i]->{attr} eq 'DateTime' ) elsif ( $filter_expr->{terms}[$i]->{attr} eq 'DateTime' )
{ {
$db_filter->{Sql} .= "E.StartTime"; $db_filter->{Sql} .= "E.StartTime";
@ -396,13 +396,13 @@ sub getFilters
{ {
$value = "'$temp_value'"; $value = "'$temp_value'";
} }
elsif ( $filter_expr->{terms}[$i]->{attr} eq 'ServerId' ) { elsif ( $filter_expr->{terms}[$i]->{attr} eq 'ServerId' ) {
if ( $temp_value eq 'ZM_SERVER_ID' ) { if ( $temp_value eq 'ZM_SERVER_ID' ) {
$value = "'$Config{ZM_SERVER_ID}'"; $value = "'$Config{ZM_SERVER_ID}'";
} else { } else {
$value = "'$temp_value'"; $value = "'$temp_value'";
} }
} }
elsif ( $filter_expr->{terms}[$i]->{attr} eq 'Name' elsif ( $filter_expr->{terms}[$i]->{attr} eq 'Name'
|| $filter_expr->{terms}[$i]->{attr} eq 'Cause' || $filter_expr->{terms}[$i]->{attr} eq 'Cause'
|| $filter_expr->{terms}[$i]->{attr} eq 'Notes' || $filter_expr->{terms}[$i]->{attr} eq 'Notes'