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