Revision 15b67fd5
Von Sven Schöling vor fast 9 Jahren hinzugefügt
SL/IC.pm | ||
---|---|---|
872 | 872 |
} |
873 | 873 |
} |
874 | 874 |
|
875 |
# special case smart search |
|
876 |
if ($form->{all}) { |
|
877 |
$form->{"l_$_"} = 1 for qw(partnumber description unit sellprice lastcost cvar_packaging linetotal); |
|
878 |
push @where_tokens, "p.partnumber ILIKE ? OR p.description ILIKE ?"; |
|
879 |
push @bind_vars, "%$form->{all}%", "%$form->{all}%"; |
|
880 |
} |
|
881 |
|
|
875 | 882 |
# special case insertdate |
876 | 883 |
if (grep { $form->{$_} } qw(insertdatefrom insertdateto)) { |
877 | 884 |
$form->{"l_insertdate"} = 1; |
Auch abrufbar als: Unified diff
Erzeugnissuche