[Rt-commit] rt branch, 4.2/nested-one-time-suggestions, created. rt-4.2.13-64-gc0cc61b
Shawn Moore
shawn at bestpractical.com
Wed Sep 21 11:14:51 EDT 2016
The branch, 4.2/nested-one-time-suggestions has been created
at c0cc61bfb83c09b4a79285430689a3fff4d5bfad (commit)
- Log -----------------------------------------------------------------
commit c0cc61bfb83c09b4a79285430689a3fff4d5bfad
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu Sep 15 19:25:44 2016 +0000
Use only top-level attachments for generating one-time recipient lists
Attaching an email will otherwise include its addresses in the one-time
cc and bcc suggestions.
Fixes: T#172602
diff --git a/lib/RT/Ticket.pm b/lib/RT/Ticket.pm
index f3c97c1..04ea97f 100644
--- a/lib/RT/Ticket.pm
+++ b/lib/RT/Ticket.pm
@@ -1013,6 +1013,11 @@ sub TransactionAddresses {
$attachments->Columns( qw( id Headers TransactionId));
$attachments->Limit(
+ FIELD => 'Parent',
+ VALUE => 0,
+ );
+
+ $attachments->Limit(
ALIAS => $attachments->TransactionAlias,
FIELD => 'Type',
OPERATOR => 'IN',
-----------------------------------------------------------------------
More information about the rt-commit
mailing list