// Replacement of AdminTab by AdminController on modules

This commit is contained in:
rGaillard
2011-11-21 11:06:35 +00:00
parent 82c9dead2a
commit 052f9ba5af
13 changed files with 66 additions and 46 deletions
@@ -1575,7 +1575,7 @@ class AdminProductsControllerCore extends AdminController
{
$this->display = 'list';
if ($id_category = (int)Tools::getValue('id_category'))
AdminTab::$currentIndex .= '&id_category='.$id_category;
AdminController::$currentIndex .= '&id_category='.$id_category;
$this->getList($this->context->language->id, !$this->context->cookie->__get($this->table.'Orderby') ? 'position' : null, !$this->context->cookie->__get($this->table.'Orderway') ? 'ASC' : null, 0, null, $this->context->shop->getID(true));
$id_category = Tools::getValue('id_category', 1);