Skip to content

Commit

Permalink
Merge pull request #7559 from aleeks/fix-bool
Browse files Browse the repository at this point in the history
Fix filter image icon
  • Loading branch information
Maxime Biloé committed Feb 15, 2017
2 parents dd831d6 + 4ca7b05 commit 778679f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions controllers/admin/AdminImagesController.php
Expand Up @@ -58,11 +58,11 @@ public function __construct()
'name' => array('title' => $this->trans('Name', array(), 'Admin.Global')),
'width' => array('title' => $this->trans('Width', array(), 'Admin.Global'), 'suffix' => ' px'),
'height' => array('title' => $this->trans('Height', array(), 'Admin.Global'), 'suffix' => ' px'),
'products' => array('title' => $this->trans('Products', array(), 'Admin.Global'), 'align' => 'center', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
'categories' => array('title' => $this->trans('Categories', array(), 'Admin.Global'), 'align' => 'center', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
'manufacturers' => array('title' => $this->trans('Brands', array(), 'Admin.Global'), 'align' => 'center', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
'suppliers' => array('title' => $this->trans('Suppliers', array(), 'Admin.Global'), 'align' => 'center', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
'stores' => array('title' => $this->trans('Stores', array(), 'Admin.Global'), 'align' => 'center', 'callback' => 'printEntityActiveIcon', 'orderby' => false)
'products' => array('title' => $this->trans('Products', array(), 'Admin.Global'), 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
'categories' => array('title' => $this->trans('Categories', array(), 'Admin.Global'), 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
'manufacturers' => array('title' => $this->trans('Brands', array(), 'Admin.Global'), 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
'suppliers' => array('title' => $this->trans('Suppliers', array(), 'Admin.Global'), 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => false),
'stores' => array('title' => $this->trans('Stores', array(), 'Admin.Global'), 'align' => 'center', 'type' => 'bool', 'callback' => 'printEntityActiveIcon', 'orderby' => false)
);

// No need to display the old image system migration tool except if product images are in _PS_PROD_IMG_DIR_
Expand Down

0 comments on commit 778679f

Please sign in to comment.