diff --git a/ui/v2.5/src/models/list-filter/criteria/factory.ts b/ui/v2.5/src/models/list-filter/criteria/factory.ts index 96ea5cd5e..31d65d6b1 100644 --- a/ui/v2.5/src/models/list-filter/criteria/factory.ts +++ b/ui/v2.5/src/models/list-filter/criteria/factory.ts @@ -47,6 +47,9 @@ export function makeCriteria(type: CriterionType = "none") { case "name": case "path": case "checksum": + return new StringCriterion( + new MandatoryStringCriterionOption(type, type) + ); case "oshash": return new StringCriterion( new MandatoryStringCriterionOption("media_info.hash", type, type)