[*] BO : AdminControllers : Keep active filter on pagination

This commit is contained in:
Axome
2013-06-24 10:57:05 +02:00
parent 75526c4bca
commit f4fc1d3cab
+1 -1
View File
@@ -535,7 +535,7 @@ class HelperListCore extends Helper
{
if (!isset($params['type']))
$params['type'] = 'text';
$value = Context::getContext()->cookie->{$prefix.$this->table.'Filter_'.(array_key_exists('filter_key', $params) ? $params['filter_key'] : $key)};
$value = Context::getContext()->cookie->{$prefix.$this->table.'Filter_'.(array_key_exists('filter_key', $params) && $key != 'active' ? $params['filter_key'] : $key)};
switch ($params['type'])
{
case 'bool':