diff --git a/core/lib/Thelia/Model/Export.php b/core/lib/Thelia/Model/Export.php index fdd9e578b..c9c21bdc0 100644 --- a/core/lib/Thelia/Model/Export.php +++ b/core/lib/Thelia/Model/Export.php @@ -91,4 +91,10 @@ class Export extends BaseExport return true; } + + + public function addCriteriaToPositionQuery($query) + { + $query->filterByExportCategoryId($this->getExportCategoryId()); + } } diff --git a/core/lib/Thelia/Model/Import.php b/core/lib/Thelia/Model/Import.php index 0c6086e13..dc9faf871 100644 --- a/core/lib/Thelia/Model/Import.php +++ b/core/lib/Thelia/Model/Import.php @@ -68,4 +68,9 @@ class Import extends BaseImport return true; } + + public function addCriteriaToPositionQuery($query) + { + $query->filterByImportCategoryId($this->getImportCategoryId()); + } }