X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcommon.pl;h=b03ca4c09419402b21adfee084321babf504bf03;hb=11dd62daf22f3b3511927383d45c00515d588687;hp=8e77f6309039916e616533adc65bf96d8b80b0ef;hpb=59adfa36c82c4e021011c84c70b9384badea33aa;p=kivitendo-erp.git diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 8e77f6309..b03ca4c09 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -237,9 +237,9 @@ sub show_history { my $callback = build_std_url(qw(action longdescription trans_id_type input_name)); my $restriction; if ( $form->{trans_id_type} eq 'glid' ) { - $restriction = "AND ( snumbers LIKE 'invnumber%' OR what_done LIKE '%Buchungsnummer%' OR snumbers LIKE 'gltransaction%' ) "; + $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 (what_done NOT LIKE '%Buchungsnummer%' OR what_done IS null))"; + $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))"; } else { $restriction = ''; }; @@ -437,4 +437,6 @@ sub db { goto &SL::DB::Helper::Mappings::db; } +sub continue { call_sub($::form->{nextsub}); } + 1;