mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-13 00:36:04 -06:00
added wrapinTag && parent categories
This commit is contained in:
parent
b9025faef6
commit
2f1d8c6234
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user