]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/CVar.pm
Filter für benutzerdef. Variablen für parts auf richtige Tabelle anwenden.
[kivitendo-erp.git] / SL / CVar.pm
index 25f243185ef15105ef2b9fc1b19a33f2b91df811..315fb3b6d519c78db9cb358a21324729530d532a 100644 (file)
@@ -402,7 +402,7 @@ sub build_filter_query {
 
       $not = 'NOT' if ($params{filter}->{$name} eq 'no');
       push @sub_where,  qq|COALESCE(cvar.bool_value, false) = TRUE|;
-    } elsif (any { $config->{type} eq $_ } qw(customer vendor part)) {
+    } elsif (any { $config->{type} eq $_ } qw(customer vendor)) {
       next unless $params{filter}->{$name};
 
       my $table = $config->{type};