From: Sven Schöling Date: Thu, 23 Jul 2009 10:44:03 +0000 (+0200) Subject: DO: open&close nicht angetickt > alles anzeigen X-Git-Tag: release-2.6.1beta1~342^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=566d2e3d39ec9f699aeb32b244ccb912b4c90718;p=kivitendo-erp.git DO: open&close nicht angetickt > alles anzeigen --- diff --git a/SL/DO.pm b/SL/DO.pm index e555dc273..e847f5e33 100644 --- 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)"; }