Add position management with categories for imports and exports
modifié: core/lib/Thelia/Model/Export.php modifié: core/lib/Thelia/Model/Import.php
This commit is contained in:
@@ -91,4 +91,10 @@ class Export extends BaseExport
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function addCriteriaToPositionQuery($query)
|
||||||
|
{
|
||||||
|
$query->filterByExportCategoryId($this->getExportCategoryId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,4 +68,9 @@ class Import extends BaseImport
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function addCriteriaToPositionQuery($query)
|
||||||
|
{
|
||||||
|
$query->filterByImportCategoryId($this->getImportCategoryId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user