mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Use string criterion for name (#3788)
This commit is contained in:
@@ -66,6 +66,9 @@ export function makeCriteria(
|
|||||||
case "none":
|
case "none":
|
||||||
return new NoneCriterion();
|
return new NoneCriterion();
|
||||||
case "name":
|
case "name":
|
||||||
|
return new StringCriterion(
|
||||||
|
new MandatoryStringCriterionOption(type, type)
|
||||||
|
);
|
||||||
case "path":
|
case "path":
|
||||||
return new StringCriterion(new PathCriterionOption(type, type));
|
return new StringCriterion(new PathCriterionOption(type, type));
|
||||||
case "checksum":
|
case "checksum":
|
||||||
|
|||||||
Reference in New Issue
Block a user