projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
92f2326
)
Merge branch 'master' of ssh://git-mbunkus@lx-office.linet-services.de/~/lx-office-erp
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 23 Jul 2009 12:15:14 +0000
(14:15 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 23 Jul 2009 12:15:14 +0000
(14:15 +0200)
SL/DO.pm
patch
|
blob
|
history
diff --git
a/SL/DO.pm
b/SL/DO.pm
index
5f8ab52
..
f2675d3
100644
(file)
--- a/
SL/DO.pm
+++ b/
SL/DO.pm
@@
-109,7
+109,8
@@
sub transactions {
push @values, '%' . $form->{$item} . '%';
}
- if (!($form->{open} && $form->{closed})) {
+ if (($form->{open} || $form->{closed}) &&
+ ($form->{open} ne $form->{closed})) {
push @where, ($form->{open} ? "NOT " : "") . "COALESCE(dord.closed, FALSE)";
}