From: Bernd Bleßmann Date: Fri, 11 Oct 2013 20:40:59 +0000 (+0200) Subject: Filter für benutzerdef. Variablen für parts auf richtige Tabelle anwenden. X-Git-Tag: release-3.1.0beta1~56^2 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/121626b98bbb5c1cad0f7021ad80043a2228acc8?ds=inline;hp=-c Filter für benutzerdef. Variablen für parts auf richtige Tabelle anwenden. --- 121626b98bbb5c1cad0f7021ad80043a2228acc8 diff --git a/SL/CVar.pm b/SL/CVar.pm index 25f243185..315fb3b6d 100644 --- a/SL/CVar.pm +++ b/SL/CVar.pm @@ -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};