From 1d13f46e231eb4a0408a6cb34fafd7d5aa2bd6e6 Mon Sep 17 00:00:00 2001 From: CJ <72030708+Teda1@users.noreply.github.com> Date: Mon, 27 Feb 2023 17:09:41 -0600 Subject: [PATCH] Use matched stash id boolean as the name suggests (#3488) --- ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx | 4 +++- ui/v2.5/src/docs/en/Changelog/v0200.md | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx b/ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx index c1334fa11..b17f7aedc 100755 --- a/ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx +++ b/ui/v2.5/src/components/Tagger/scenes/PerformerResult.tsx @@ -35,7 +35,9 @@ const PerformerResult: React.FC = ({ const matchedPerformer = performerData?.findPerformer; const matchedStashID = matchedPerformer?.stash_ids.some( - (stashID) => stashID.endpoint === endpoint && stashID.stash_id + (stashID) => + stashID.endpoint === endpoint && + stashID.stash_id === performer.remote_site_id ); const handlePerformerSelect = (performers: SelectObject[]) => { diff --git a/ui/v2.5/src/docs/en/Changelog/v0200.md b/ui/v2.5/src/docs/en/Changelog/v0200.md index 2a7e72d19..2d5913e66 100644 --- a/ui/v2.5/src/docs/en/Changelog/v0200.md +++ b/ui/v2.5/src/docs/en/Changelog/v0200.md @@ -13,6 +13,7 @@ * Overhauled and improved HLS streaming. ([#3274](https://github.com/stashapp/stash/pull/3274)) ### 🐛 Bug fixes +* Fixed incorrect performer with identical name being matched when scraping from stash-box. ([#3488](https://github.com/stashapp/stash/pull/3488)) * Fixed scene cover not being included when submitting file-less scenes to stash-box. ([#3465](https://github.com/stashapp/stash/pull/3465)) * Fixed URL not being during stash-box scrape if the Studio URL is not set. ([#3439](https://github.com/stashapp/stash/pull/3439)) * Fixed generating previews for variable frame rate videos. ([#3376](https://github.com/stashapp/stash/pull/3376))