GX-Abgewiesen #59160 » CategoriesPerformanceFix.patch
src/templates/Honeygrid/source/boxes/categories.php (date 1537553188000) | ||
---|---|---|
34 | 34 |
/** @var CategoriesMenuBoxContentView $categoriesBox */ |
35 | 35 |
$categoriesBox = MainFactory::create_object('CategoriesMenuBoxContentView'); |
36 | 36 |
$categoriesBox->set_content_template('boxes/box_categories.html'); |
37 |
$categoriesBox->set_tree_depth(100);
|
|
37 |
$categoriesBox->set_tree_depth(gm_get_conf('CATEGORY_UNFOLD_LEVEL'));
|
|
38 | 38 |
$categoriesBox->setCategoryId($categoryId); |
39 | 39 |
$categoriesBox->setCurrentCategoryId(0); |
40 | 40 |
$categoriesBox->setCPath($this->c_path); |