Clear scene tagger results on new search (#1526)

* Clear search results when searching in tagger
* Fix oshash messageID
This commit is contained in:
WithoutPants
2021-06-23 13:00:58 +10:00
committed by GitHub
parent 4e26633abb
commit 4e08e37d74
2 changed files with 11 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ export function makeCriteria(type: CriterionType = "none") {
case "checksum":
case "oshash":
return new StringCriterion(
new MandatoryStringCriterionOption(type, type)
new MandatoryStringCriterionOption("media_info.hash", type, type)
);
case "rating":
return new NumberCriterion(RatingCriterionOption);