diff --git a/brewman/static/scripts/angular_service.js b/brewman/static/scripts/angular_service.js index 0c615214..63a68967 100644 --- a/brewman/static/scripts/angular_service.js +++ b/brewman/static/scripts/angular_service.js @@ -284,7 +284,7 @@ overlord_service.factory('Tokenizer', ['$filter', function ($filter) { } if (key !== '' && value !== '' && key in comparator) { matches.push(pushObject(comparator[key], value)); - } else if (key !== '' && key in searchInfo.flags) { + } else if (key !== '' && !angular.isUndefined(searchInfo.flags) && key in searchInfo.flags) { flags[key] = value; } }