Просмотр исходного кода

OrderProductStore : filter by section

packProduct
Guillaume 3 лет назад
Родитель
Сommit
6bfdd8b8c1
1 измененных файлов: 2 добавлений и 3 удалений
  1. +2
    -3
      Repository/Order/OrderProductStore.php

+ 2
- 3
Repository/Order/OrderProductStore.php Просмотреть файл

@@ -28,9 +28,8 @@ class OrderProductStore extends AbstractStore

public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
{
if($this->section) {
$query->filterBySection($this->section);
}
$this->addFilterBySectionOptionnal($query);

return $query;
}


Загрузка…
Отмена
Сохранить