mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Add performer aliases to stash-box tagging/scraping (#2091)
* Add performer aliases to stash-box tagging/scraping
This commit is contained in:
@@ -606,6 +606,11 @@ func performerFragmentToScrapedScenePerformer(p graphql.PerformerFragment) *mode
|
|||||||
sp.FakeTits = enumToStringPtr(p.BreastType, true)
|
sp.FakeTits = enumToStringPtr(p.BreastType, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(p.Aliases) > 0 {
|
||||||
|
alias := strings.Join(p.Aliases, ", ")
|
||||||
|
sp.Aliases = &alias
|
||||||
|
}
|
||||||
|
|
||||||
return sp
|
return sp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
* Added plugin hook for Tag merge operation. ([#2010](https://github.com/stashapp/stash/pull/2010))
|
* Added plugin hook for Tag merge operation. ([#2010](https://github.com/stashapp/stash/pull/2010))
|
||||||
|
|
||||||
### 🐛 Bug fixes
|
### 🐛 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))
|
* 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))
|
* 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))
|
* Reject dates with invalid format. ([#2052](https://github.com/stashapp/stash/pull/2052))
|
||||||
|
|||||||
@@ -188,6 +188,7 @@ const PerformerModal: React.FC<IPerformerModalProps> = ({
|
|||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-7">
|
<div className="col-7">
|
||||||
{renderField("name", performer.name)}
|
{renderField("name", performer.name)}
|
||||||
|
{renderField("aliases", performer.aliases)}
|
||||||
{renderField(
|
{renderField(
|
||||||
"gender",
|
"gender",
|
||||||
performer.gender ? genderToString(performer.gender) : ""
|
performer.gender ? genderToString(performer.gender) : ""
|
||||||
|
|||||||
Reference in New Issue
Block a user