[-] BO : #PSTEST-627 - Fix bug with bad order by

This commit is contained in:
mDeflotte
2012-02-03 14:13:14 +00:00
parent f3f769eb08
commit 3775eae900
@@ -73,6 +73,7 @@ class AdminTrackingControllerCore extends AdminController
$this->_orderWay = 'DESC'; $this->_orderWay = 'DESC';
self::$currentIndex = 'index.php?controller=AdminCategories'; self::$currentIndex = 'index.php?controller=AdminCategories';
$this->token = Tools::getAdminTokenLite('AdminCategories'); $this->token = Tools::getAdminTokenLite('AdminCategories');
$this->_orderBy = null;
$this->addRowAction('edit'); $this->addRowAction('edit');
$this->addRowAction('delete'); $this->addRowAction('delete');
@@ -108,6 +109,7 @@ class AdminTrackingControllerCore extends AdminController
self::$currentIndex = 'index.php?controller=AdminProducts'; self::$currentIndex = 'index.php?controller=AdminProducts';
$this->token = Tools::getAdminTokenLite('AdminProducts'); $this->token = Tools::getAdminTokenLite('AdminProducts');
$this->show_toolbar = false; $this->show_toolbar = false;
$this->_orderBy = null;
$this->addRowAction('edit'); $this->addRowAction('edit');
$this->addRowAction('delete'); $this->addRowAction('delete');
@@ -146,6 +148,7 @@ class AdminTrackingControllerCore extends AdminController
$this->show_toolbar = false; $this->show_toolbar = false;
self::$currentIndex = 'index.php?controller=AdminProducts'; self::$currentIndex = 'index.php?controller=AdminProducts';
$this->token = Tools::getAdminTokenLite('AdminProducts'); $this->token = Tools::getAdminTokenLite('AdminProducts');
$this->_orderBy = null;
$this->addRowAction('edit'); $this->addRowAction('edit');
$this->addRowAction('delete'); $this->addRowAction('delete');
@@ -187,6 +190,7 @@ class AdminTrackingControllerCore extends AdminController
$this->show_toolbar = false; $this->show_toolbar = false;
self::$currentIndex = 'index.php?controller=AdminProducts'; self::$currentIndex = 'index.php?controller=AdminProducts';
$this->token = Tools::getAdminTokenLite('AdminProducts'); $this->token = Tools::getAdminTokenLite('AdminProducts');
$this->_orderBy = null;
$this->addRowAction('edit'); $this->addRowAction('edit');
$this->addRowAction('delete'); $this->addRowAction('delete');