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:
0922182
)
aliased subqueries müssen mit ihrem alias im group by stehen.
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 14 May 2009 13:03:15 +0000
(13:03 +0000)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 14 May 2009 13:03:15 +0000
(13:03 +0000)
Fix für Bug 983.
SL/IC.pm
patch
|
blob
|
history
diff --git
a/SL/IC.pm
b/SL/IC.pm
index
80781b7
..
f691a35
100644
(file)
--- a/
SL/IC.pm
+++ b/
SL/IC.pm
@@
-914,6
+914,7
@@
sub all_parts {
if ($form->{l_soldtotal}) {
push @where_tokens, 'ioi.qty >= 0';
push @group_tokens, @select_tokens;
+ map { s/.*\sAS\s+//si } @group_tokens;
push @select_tokens, 'SUM(ioi.qty)';
}
@@
-927,6
+928,7
@@
sub all_parts {
ordnumber => 'apoe.', make => 'mm.',
quonumber => 'apoe.', model => 'mm.',
invnumber => 'apoe.', partsgroup => 'pg.',
+ lastcost => ' ',
factor => 'pfac.',
'SUM(ioi.qty)' => ' ',
);