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:
27bbc91
)
DO: open&close nicht angetickt > alles anzeigen
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 23 Jul 2009 10:44:03 +0000
(12:44 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 23 Jul 2009 10:44:03 +0000
(12:44 +0200)
SL/DO.pm
patch
|
blob
|
history
diff --git
a/SL/DO.pm
b/SL/DO.pm
index
e555dc2
..
e847f5e
100644
(file)
--- a/
SL/DO.pm
+++ b/
SL/DO.pm
@@
-108,7
+108,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)";
}