change string to array in OrderQuery method
This commit is contained in:
@@ -103,7 +103,7 @@ class OrderQuery extends BaseOrderQuery
|
||||
$query = self::create('o')
|
||||
->filterByCreatedAt(sprintf("%s 00:00:00", $startDate->format('Y-m-d')), Criteria::GREATER_EQUAL)
|
||||
->filterByCreatedAt(sprintf("%s 23:59:59", $endDate->format('Y-m-d')), Criteria::LESS_EQUAL)
|
||||
->filterByStatusId("2,3,4", Criteria::IN)
|
||||
->filterByStatusId([2,3,4], Criteria::IN)
|
||||
->innerJoinOrderProduct()
|
||||
->addJoinObject($orderTaxJoin)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user