Skip to content

Commit

Permalink
set correct messageID for code StringCriterion
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyAxolotl committed Oct 31, 2022
1 parent c16cad6 commit c83073b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/v2.5/src/models/list-filter/criteria/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ export function makeCriteria(type: CriterionType = "none") {
case "director":
case "synopsis":
case "description":
case "code":
return new StringCriterion(new StringCriterionOption(type, type));
case "code":
return new StringCriterion(new StringCriterionOption("scene_code", type));
case "interactive":
return new InteractiveCriterion();
case "captions":
Expand Down

0 comments on commit c83073b

Please sign in to comment.