projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac8941
)
SQL-Fehler "description is ambiguous"
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 16 Aug 2007 15:15:54 +0000
(15:15 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 16 Aug 2007 15:15:54 +0000
(15:15 +0000)
SL/IC.pm
patch
|
blob
|
history
diff --git
a/SL/IC.pm
b/SL/IC.pm
index
241ba58
..
38a30e0
100644
(file)
--- a/
SL/IC.pm
+++ b/
SL/IC.pm
@@
-892,10
+892,14
@@
sub all_parts {
}
}
+ my %simple_filter_table_prefix = (
+ description => 'p.',
+ );
+
foreach (@simple_filters, @makemodel_filters, @invoice_oi_filters) {
next unless $form->{$_};
$form->{"l_$_"} = '1'; # show the column
- push @where_tokens, "$_ ILIKE ?";
+ push @where_tokens, "$
simple_filter_table_prefix{$_}$
_ ILIKE ?";
push @bind_vars, "%$form->{$_}%";
}