Merge pull request #540 from axometeam/patch-7

[*] BO : Correct the getList() request for quantity and id_product
This commit is contained in:
Rémi Gaillard
2013-07-11 06:40:17 -07:00

View File

@@ -201,7 +201,8 @@ class AdminProductsControllerCore extends AdminController
$this->fields_list['id_product'] = array(
'title' => $this->l('ID'),
'align' => 'center',
'width' => 20
'type' => 'int',
'width' => 40
);
$this->fields_list['image'] = array(
'title' => $this->l('Photo'),
@@ -253,6 +254,7 @@ class AdminProductsControllerCore extends AdminController
$this->fields_list['sav_quantity'] = array(
'title' => $this->l('Quantity'),
'width' => 90,
'type' => 'int',
'align' => 'right',
'filter_key' => 'sav!quantity',
'orderby' => true,