Browse Source

OrderProductStore : filter by section

packProduct
Guillaume 2 years ago
parent
commit
6bfdd8b8c1
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      Repository/Order/OrderProductStore.php

+ 2
- 3
Repository/Order/OrderProductStore.php View File

@@ -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;
}


Loading…
Cancel
Save