From: Moritz Bunkus Date: Tue, 5 Jun 2007 14:12:41 +0000 (+0000) Subject: Bei Artikelsuche Groß-/Kleinschreibung ignorieren. X-Git-Tag: release-2.4.3^2~196 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8cc4ba47074672d0907a19e71617c9f468b0361e;p=kivitendo-erp.git Bei Artikelsuche Groß-/Kleinschreibung ignorieren. --- diff --git a/SL/IR.pm b/SL/IR.pm index 875059bfa..98a53536f 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -1007,7 +1007,7 @@ sub retrieve_item { foreach my $table_column (qw(p.partnumber p.description pg.partsgroup)) { my $field = (split m{\.}, $table_column)[1]; next unless $form->{"${field}_${i}"}; - $where .= " AND lower(${table_column}) LIKE ?"; + $where .= " AND lower(${table_column}) LIKE lower(?)"; push @values, '%' . $form->{"${field}_${i}"} . '%'; }