Add performer aliases to stash-box tagging/scraping (#2091)

* Add performer aliases to stash-box tagging/scraping
This commit is contained in:
InfiniteTF
2021-12-07 23:36:06 +01:00
committed by GitHub
parent 70d9a05580
commit f3ab6578d9
3 changed files with 7 additions and 0 deletions

View File

@@ -606,6 +606,11 @@ func performerFragmentToScrapedScenePerformer(p graphql.PerformerFragment) *mode
sp.FakeTits = enumToStringPtr(p.BreastType, true)
}
if len(p.Aliases) > 0 {
alias := strings.Join(p.Aliases, ", ")
sp.Aliases = &alias
}
return sp
}

View File

@@ -9,6 +9,7 @@
* Added plugin hook for Tag merge operation. ([#2010](https://github.com/stashapp/stash/pull/2010))
### 🐛 Bug fixes
* Include performer aliases when scraping from stash-box. ([#2091](https://github.com/stashapp/stash/pull/2091/files))
* Remove empty folder-based galleries during clean. ([#1954](https://github.com/stashapp/stash/pull/1954))
* Select first scene result in scene tagger where possible. ([#2051](https://github.com/stashapp/stash/pull/2051))
* Reject dates with invalid format. ([#2052](https://github.com/stashapp/stash/pull/2052))

View File

@@ -188,6 +188,7 @@ const PerformerModal: React.FC<IPerformerModalProps> = ({
<div className="row">
<div className="col-7">
{renderField("name", performer.name)}
{renderField("aliases", performer.aliases)}
{renderField(
"gender",
performer.gender ? genderToString(performer.gender) : ""