Fix: Do not throw error if not flags are allowed.
This commit is contained in:
parent
e8f4931d29
commit
2201a90278
|
@ -284,7 +284,7 @@ overlord_service.factory('Tokenizer', ['$filter', function ($filter) {
|
||||||
}
|
}
|
||||||
if (key !== '' && value !== '' && key in comparator) {
|
if (key !== '' && value !== '' && key in comparator) {
|
||||||
matches.push(pushObject(comparator[key], value));
|
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;
|
flags[key] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue