refactor(shop_category): migrate admin module to Domain+DI with routing and ajax cleanup
This commit is contained in:
@@ -511,7 +511,7 @@ ob_start();
|
||||
</div>
|
||||
<?=
|
||||
\Tpl::view('shop-product/subcategories-list', [
|
||||
'categories' => \admin\factory\ShopCategory::subcategories($category['id']),
|
||||
'categories' => ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories($category['id']),
|
||||
'product_categories' => $this->product['categories'],
|
||||
'dlang' => $this->dlang
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user