mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Make phash a link to duplicates (#2154)
This commit is contained in:
committed by
GitHub
parent
523edfb575
commit
deb5a2958d
@@ -1,5 +1,5 @@
|
||||
import { CriterionModifier } from "src/core/generated-graphql";
|
||||
import { CriterionOption } from "./criterion";
|
||||
import { CriterionOption, StringCriterion } from "./criterion";
|
||||
|
||||
export const PhashCriterionOption = new CriterionOption({
|
||||
messageID: "media_info.phash",
|
||||
@@ -13,3 +13,9 @@ export const PhashCriterionOption = new CriterionOption({
|
||||
CriterionModifier.NotNull,
|
||||
],
|
||||
});
|
||||
|
||||
export class PhashCriterion extends StringCriterion {
|
||||
constructor() {
|
||||
super(PhashCriterionOption);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user