Skip to content

Commit b1b6c3c

Browse files
committed
Issue fixed #20128 : Date range returns same start and end date
1 parent b3d9a05 commit b1b6c3c

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
@@ -446,7 +446,7 @@ public function getDateRange($range, $customStart, $customEnd, $returnObjects =
446446
break;
447447

448448
case 'custom':
449-
$dateStart = $customStart ? $customStart : $dateEnd;
449+
$dateStart = $customStart ? $customStart : $dateStart;
450450
$dateEnd = $customEnd ? $customEnd : $dateEnd;
451451
break;
452452

0 commit comments

Comments
 (0)