//fixed bug #PSCFV-124

This commit is contained in:
vAugagneur
2012-05-03 09:28:19 +00:00
parent aa12b7c833
commit 692ba94f91
10 changed files with 31 additions and 33 deletions
@@ -46,6 +46,8 @@ class StatsBestProducts extends ModuleGrid
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->_defaultSortColumn = 'totalPriceSold';
$this->_defaultSortDirection = 'DESC';
$this->_emptyMessage = $this->l('Empty recordset returned');
@@ -109,9 +111,7 @@ class StatsBestProducts extends ModuleGrid
'align' => 'right'
)
);
parent::__construct();
$this->displayName = $this->l('Best products');
$this->description = $this->l('A list of the best products');
}