Skip to content

Commit

Permalink
Merge branch '2.10.x' into 2.11.x
Browse files Browse the repository at this point in the history
  • Loading branch information
romainruaud committed Jun 14, 2024
2 parents 6cb95ac + 81413be commit 23dc30e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ public function getSearchQuery(ProductCondition $condition)
$bounds['gt'] = $dateReference->format('Y-m-d');
break;
case '>=':
$bounds['gte'] = $dateReference->format('Y-m-d');
$bounds['lte'] = $dateReference->format('Y-m-d');
break;
case '<=':
$bounds['lte'] = $dateReference->format('Y-m-d');
$bounds['gte'] = $dateReference->format('Y-m-d');
break;
default:
throw new \InvalidArgumentException('Invalid operator');
Expand Down

0 comments on commit 23dc30e

Please sign in to comment.