Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17917940
D20563.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
834 B
Referenced Files
None
Subscribers
None
D20563.diff
View Options
diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -3084,6 +3084,11 @@
->withObjectPHIDs(array($object->getPHID()))
->withPHIDs($xaction_phids)
->execute();
+
+ // Sort the mail transactions in the input order.
+ $mail_xactions = mpull($mail_xactions, null, 'getPHID');
+ $mail_xactions = array_select_keys($mail_xactions, $xaction_phids);
+ $mail_xactions = array_values($mail_xactions);
} else {
$mail_xactions = array();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 31, 12:24 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8480597
Default Alt Text
D20563.diff (834 B)
Attached To
Mode
D20563: After reloading transactions for the recipient while building transaction mail, put them in the input order
Attached
Detach File
Event Timeline
Log In to Comment