Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap

This commit is contained in:
Kevin Granger
2013-09-13 11:41:26 +02:00
6 changed files with 193 additions and 14 deletions
@@ -2273,7 +2273,9 @@ class AdminProductsControllerCore extends AdminController
// Generate category selection tree
$tree = new HelperTreeCategories('categories-tree', 'Filter by category');
$tree->setSelectedCategories(array((int)$id_category));
$tree->setAttribute('is_category_filter', (bool)$this->id_current_category)
->setAttribute('base_url', preg_replace('#&id_category=[0-9]*#', '', self::$currentIndex).'&token='.$this->token)
->setSelectedCategories(array((int)$id_category));
$this->tpl_list_vars['category_tree'] = $tree->render();
// used to build the new url when changing category