added wrapinTag && parent categories

This commit is contained in:
vedatakdogan 2020-11-24 12:52:32 +03:00
parent b9025faef6
commit 2f1d8c6234

View File

@ -132,7 +132,7 @@ class CategoryModel extends CatsCategoryEntryModel implements CategoryInterface
->get();
foreach ($cats as $cat) {
$link = '';
$parents = $this->getParentCats($cat->id, null);
$parents = $this->getParentCats($cat->id, null, false);
krsort($parents);
foreach ($parents as $key => $parent) {
if ($key == 0) {