From: Martin Helmling martin.helmling@octosoft.eu Date: Wed, 25 Oct 2017 08:16:03 +0000 (+0200) Subject: Das per Email Versenden wird nicht in der History des Dokuments angezeigt X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~349 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3682b8c56c1d8e050b37f1bd5d81388cb94caf25;p=kivitendo-erp.git Das per Email Versenden wird nicht in der History des Dokuments angezeigt Hier war eine Einschränkung in der Datenbankabfrage zu viel. fix #101 (cherry picked from commit 41dfbbd6b8d0823a34c201e849e8570172758307) (angepasster cherry-pick von odyn) --- diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 33ef7e32c..2f9df9ed3 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -242,7 +242,7 @@ sub show_history { if ( $form->{trans_id_type} eq 'glid' ) { $restriction = "AND ( snumbers LIKE 'invnumber%' OR what_done LIKE '%Buchungsnummer%' OR snumbers LIKE 'gltransaction%' OR snumbers LIKE 'emailjournal%' ) "; } elsif ( $form->{trans_id_type} eq 'id' ) { - $restriction = " AND ( snumbers NOT LIKE 'invnumber_%' AND snumbers NOT LIKE 'gltransaction%' AND snumbers NOT LIKE 'emailjournal%' AND (what_done NOT LIKE '%Buchungsnummer%' OR what_done IS null))"; + $restriction = " AND ( snumbers NOT LIKE 'invnumber_%' AND snumbers NOT LIKE 'gltransaction%' AND (what_done NOT LIKE '%Buchungsnummer%' OR what_done IS null))"; } else { $restriction = ''; };