From fd3c9153d5c2d6d9f7b974bc466a8c3c5daa940a Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Thu, 24 Jun 2021 10:50:51 +1000 Subject: [PATCH] Fix message id issue (#1530) --- ui/v2.5/src/models/list-filter/criteria/factory.ts | 3 +++ 1 file changed, 3 insertions(+) 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)