diff --git a/view/theme/frio/js/module/admin/logs/view.js b/view/theme/frio/js/module/admin/logs/view.js index 9faf9ec89..ab07882d2 100644 --- a/view/theme/frio/js/module/admin/logs/view.js +++ b/view/theme/frio/js/module/admin/logs/view.js @@ -6,7 +6,7 @@ $(function(){ var value = this.dataset.filterValue; var re = RegExp(filter+"=[a-z]*"); var newhref = location.href; - if (!location.href.indexOf("?") < 0) { + if (location.href.indexOf("?") < 0) { newhref = location.href + "?" + filter + "=" + value; } else if (location.href.match(re)) { newhref = location.href.replace(RegExp(filter+"=[a-z]*"), filter+"="+value);