Projekt

Allgemein

Profil

GX-Abgewiesen #59160 » CategoriesPerformanceFix.patch

Till Tepelmann, 21.09.2018 20:12

Unterschiede anzeigen:

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);
    (1-1/1)