@@ -142,6 +142,10 @@ class OrderShopRepository extends BaseRepository implements DefaultRepositoryInt | |||
$query->andWhere('e.' . $params['dateField'] . ' <= :dateEnd')->setParameter('dateEnd', $params['dateEnd']); | |||
} | |||
if (isset($params['weekNumber'])) { | |||
$query->andWhere('e.weekNumber = :weekNumber')->setParameter('weekNumber', $params['weekNumber']); | |||
} | |||
if (isset($params['isCart'])) { | |||
$query = $this->filterOrderCart($query); | |||
} |