Skip to content

Commit 5351bba

Browse files
ENGCOM-3808: Issue fixed #20128 : Date range returns the same start and end date #20129
- Merge Pull Request #20129 from opencommerce/magento2:2.3-develop-issue-20128 - Merged commits: 1. b1b6c3c
2 parents 2957731 + b1b6c3c commit 5351bba

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

Lines changed: 1 addition & 1 deletion
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)