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