We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f597b7a commit 6e79dc6Copy full SHA for 6e79dc6
app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/History.php
@@ -313,7 +313,7 @@ public static function sortHistoryByTimestamp($a, $b)
313
$createdAtA = $a['created_at'];
314
$createdAtB = $b['created_at'];
315
316
- if( $createdAtA->getTimestamp() === $createdAtB->getTimestamp() ) {
+ if ($createdAtA->getTimestamp() === $createdAtB->getTimestamp()) {
317
if( $a['comment'] == 'Invoice created' || $b['comment'] == 'Invoice created' ) {
318
return ( $a['comment'] == 'Invoice created' ? 1 : -1 );
319
}
0 commit comments