Skip to content

Commit 7dba2af

Browse files
authored
ENGCOM-4445: [Backport] Issue fixed #20128 : Date range returns the same start and end date #21589
2 parents eef6935 + 6bb9d92 commit 7dba2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Reports/Model/ResourceModel/Order/Collection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ public function getDateRange($range, $customStart, $customEnd, $returnObjects =
445445
break;
446446

447447
case 'custom':
448-
$dateStart = $customStart ? $customStart : $dateEnd;
448+
$dateStart = $customStart ? $customStart : $dateStart;
449449
$dateEnd = $customEnd ? $customEnd : $dateEnd;
450450
break;
451451

0 commit comments

Comments
 (0)