Asset Report NULL operators do not accept values.
This commit is contained in:
parent
501d5f3757
commit
3268d32358
1 changed files with 6 additions and 1 deletions
|
|
@ -156,8 +156,13 @@ sub getTemplateVars {
|
|||
my $value = $db->quote($clause->{valText});
|
||||
|
||||
$rules->{'whereClause'} .= qq{ $condition } if ($key > 1);
|
||||
if ($op =~ /NULL/) { ##NULL/IS NULL does not have any following values
|
||||
$rules->{'whereClause'} .= qq{$prop $op};
|
||||
}
|
||||
else {
|
||||
$rules->{'whereClause'} .= qq{$prop $op $value};
|
||||
}
|
||||
}
|
||||
|
||||
# Always join to the class, asset and assetData are excluded by getLineageSql
|
||||
$rules->{'joinClass'} = $settings->{className};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue