diff --git a/protected/humhub/modules/ui/filter/resources/js/humhub.ui.filter.js b/protected/humhub/modules/ui/filter/resources/js/humhub.ui.filter.js index 024b0af67c..da8d8f1cb1 100644 --- a/protected/humhub/modules/ui/filter/resources/js/humhub.ui.filter.js +++ b/protected/humhub/modules/ui/filter/resources/js/humhub.ui.filter.js @@ -262,7 +262,7 @@ humhub.module('ui.filter', function(module, require, $) { var result = true; if(options.exclude) { if(object.isArray(options.exclude)) { - result = options.exclude.indexOf(input.getCategory()) <= 0; + result = options.exclude.indexOf(input.getCategory()) < 0; } else { result = input.getCategory() !== options.exclude; }