From 121626b98bbb5c1cad0f7021ad80043a2228acc8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 11 Oct 2013 22:40:59 +0200 Subject: [PATCH] =?utf8?q?Filter=20f=C3=BCr=20benutzerdef.=20Variablen=20f?= =?utf8?q?=C3=BCr=20parts=20auf=20richtige=20Tabelle=20anwenden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/CVar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- 2.20.1