FIXED operand error for NOT IN SQL statement
Switched operand from !~ to ~[] for NOT IN SQL statement. Web version was fine but zmfilter.pl suffered from this error.
This commit is contained in:
parent
87fd316e5b
commit
69d393fc47
|
@ -322,7 +322,7 @@ sub Sql {
|
|||
$self->{Sql} .= ' IS NOT '.$value;
|
||||
} elsif ( $term->{op} eq '=[]' ) {
|
||||
$self->{Sql} .= ' IN ('.join(',', @value_list).')';
|
||||
} elsif ( $term->{op} eq '!~' ) {
|
||||
} elsif ( $term->{op} eq '![]' ) {
|
||||
$self->{Sql} .= ' NOT IN ('.join(',', @value_list).')';
|
||||
} elsif ( $term->{op} eq 'LIKE' ) {
|
||||
$self->{Sql} .= ' LIKE '.$value;
|
||||
|
|
Loading…
Reference in New Issue