mirror of
https://github.com/stashapp/stash.git
synced 2026-04-22 15:03:48 +02:00
Fix name,path filter naming (#2712)
* Fix name,path filter naming * * fmt-ui
This commit is contained in:
parent
813495c7f7
commit
92acd78401
1 changed files with 3 additions and 0 deletions
|
|
@ -51,6 +51,9 @@ export function makeCriteria(type: CriterionType = "none") {
|
|||
return new NoneCriterion();
|
||||
case "name":
|
||||
case "path":
|
||||
return new StringCriterion(
|
||||
new MandatoryStringCriterionOption(type, type)
|
||||
);
|
||||
case "checksum":
|
||||
return new StringCriterion(
|
||||
new MandatoryStringCriterionOption("media_info.checksum", type, type)
|
||||
|
|
|
|||
Loading…
Reference in a new issue