// Small fix on AdminModules filters
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
{
|
||||
// res.status = cache or refresh
|
||||
if (data == '{"status":"refresh"}')
|
||||
window.location.href = currentIndexWithToken;
|
||||
window.location.href = window.location.href;
|
||||
},
|
||||
error: function(res,textStatus,jqXHR)
|
||||
{
|
||||
|
||||
@@ -849,6 +849,11 @@ class AdminModulesControllerCore extends AdminController
|
||||
return true;
|
||||
|
||||
|
||||
// If action on module, we display it
|
||||
if (Tools::getValue('module_name') != '' && Tools::getValue('module_name') == $module->name)
|
||||
return false;
|
||||
|
||||
|
||||
// Filter on module name
|
||||
$filter_name = Tools::getValue('filtername');
|
||||
if (!empty($filter_name))
|
||||
|
||||
Reference in New Issue
Block a user