From 3682b8c56c1d8e050b37f1bd5d81388cb94caf25 Mon Sep 17 00:00:00 2001 From: "Martin Helmling martin.helmling@octosoft.eu" Date: Wed, 25 Oct 2017 10:16:03 +0200 Subject: [PATCH] Das per Email Versenden wird nicht in der History des Dokuments angezeigt MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Hier war eine Einschränkung in der Datenbankabfrage zu viel. fix #101 (cherry picked from commit 41dfbbd6b8d0823a34c201e849e8570172758307) (angepasster cherry-pick von odyn) --- bin/mozilla/common.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''; }; -- 2.20.1