mirror of https://github.com/stashapp/stash.git
Fix fingerprint search when scene only has phash match (#1312)
This commit is contained in:
parent
a5e9e7abce
commit
e3fa8f7b24
|
@ -290,7 +290,8 @@ const TaggerList: React.FC<ITaggerListProps> = ({
|
|||
(s) =>
|
||||
s.stash_ids.length === 0 &&
|
||||
((s.checksum && fingerprints[s.checksum]) ||
|
||||
(s.oshash && fingerprints[s.oshash]))
|
||||
(s.oshash && fingerprints[s.oshash]) ||
|
||||
(s.phash && fingerprints[s.phash]))
|
||||
).length;
|
||||
};
|
||||
|
||||
|
@ -320,6 +321,7 @@ const TaggerList: React.FC<ITaggerListProps> = ({
|
|||
const fingerprintMatch =
|
||||
fingerprints[scene.checksum ?? ""] ??
|
||||
fingerprints[scene.oshash ?? ""] ??
|
||||
fingerprints[scene.phash ?? ""] ??
|
||||
null;
|
||||
const isTagged = taggedScenes[scene.id];
|
||||
const hasStashIDs = scene.stash_ids.length > 0;
|
||||
|
|
Loading…
Reference in New Issue