Skip to content

Commit

Permalink
Merge pull request PrestaShop#2396 from Profileo/1.6
Browse files Browse the repository at this point in the history
[-] CORE : added hook on processFilter to modify the fields_list
  • Loading branch information
gRoussac committed Jan 21, 2015
2 parents 82ac05e + e0baee5 commit bb4c385
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/controller/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,10 @@ public function checkToken()
*/
public function processFilter()
{
Hook::exec('action'.$this->controller_name.'ListingFieldsModifier', array(
'fields' => &$this->fields_list,
));

if (!isset($this->list_id))
$this->list_id = $this->table;

Expand Down

0 comments on commit bb4c385

Please sign in to comment.