Skip to content

Commit

Permalink
Don't include stash_ids if not setting (#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored Mar 22, 2022
1 parent b4ecb63 commit 4c4cdae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/v2.5/src/components/Changelog/versions/v0140.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Improved autotag performance. ([#2368](https://github.com/stashapp/stash/pull/2368))

### 🐛 Bug fixes
* Fix error saving a scene from the tagger when the scene has stash ids. ([#2408](https://github.com/stashapp/stash/pull/2408))
* Perform tag pattern exclusion on stash-box sources. ([#2391](https://github.com/stashapp/stash/pull/2391))
* Don't generate jpg thumbnails for animated webp files. ([#2388](https://github.com/stashapp/stash/pull/2388))
* Removed warnings and incorrect error message in json scrapers. ([#2375](https://github.com/stashapp/stash/pull/2375))
Expand Down
3 changes: 3 additions & 0 deletions ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ const StashSearchResult: React.FC<IStashSearchResultProps> = ({
stash_id: scene.remote_site_id,
},
];
} else {
// #2348 - don't include stash_ids if we're not setting them
delete sceneCreateInput.stash_ids;
}

await saveScene(sceneCreateInput, includeStashID);
Expand Down

0 comments on commit 4c4cdae

Please sign in to comment.