// Small fix on AdminModules filters
This commit is contained in:
1 parent
9c51a32aad
commit
5395728ab9
2 files changed
+6
-1
No files matched your search
@@ -176,7 +176,7 @@
|
|||||||
{
|
{
|
||||||
// res.status = cache or refresh
|
// res.status = cache or refresh
|
||||||
if (data == '{"status":"refresh"}')
|
if (data == '{"status":"refresh"}')
|
||||||
window.location.href = currentIndexWithToken;
|
window.location.href = window.location.href;
|
||||||
},
|
},
|
||||||
error: function(res,textStatus,jqXHR)
|
error: function(res,textStatus,jqXHR)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -849,6 +849,11 @@ class AdminModulesControllerCore extends AdminController
|
|||||||
return true;
|
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 on module name
|
||||||
$filter_name = Tools::getValue('filtername');
|
$filter_name = Tools::getValue('filtername');
|
||||||
if (!empty($filter_name))
|
if (!empty($filter_name))
|
||||||
|
|||||||
Reference in new issue
Block a user