From 25f182f483883521624afcbaef00a90229432b90 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Wed, 11 Jul 2012 15:54:17 +0000 Subject: [PATCH] [-] BO : product state did not show in the back office search #PSCFV-3150 --- controllers/admin/AdminSearchController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/admin/AdminSearchController.php b/controllers/admin/AdminSearchController.php index 28f8ae85c..3c36e7f40 100644 --- a/controllers/admin/AdminSearchController.php +++ b/controllers/admin/AdminSearchController.php @@ -207,15 +207,15 @@ class AdminSearchControllerCore extends AdminController protected function initProductList() { $this->show_toolbar = false; - $this->fields_list['products'] = (array( + $this->fields_list['products'] = array( 'id_product' => array('title' => $this->l('ID'), 'width' => 25), 'manufacturer_name' => array('title' => $this->l('Manufacturer'), 'align' => 'center', 'width' => 200), 'reference' => array('title' => $this->l('Reference'), 'align' => 'center', 'width' => 150), 'name' => array('title' => $this->l('Name'), 'width' => 'auto'), 'price_tax_excl' => array('title' => $this->l('Price (tax excl.)'), 'align' => 'right', 'type' => 'price', 'width' => 60), 'price_tax_incl' => array('title' => $this->l('Price (tax incl.)'), 'align' => 'right', 'type' => 'price', 'width' => 60), - 'status' => array('title' => $this->l('Status'), 'align' => 'center', 'width' => 25), - )); + 'active' => array('title' => $this->l('Active'), 'width' => 70, 'active' => 'status', 'align' => 'center', 'type' => 'bool') + ); } public function setMedia()