mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Performer tags (#1132)
* Add scraping support for performer tags * Add performer count to tag cards * Refactor sqlite test setup * Add performer tag filtering in gallery and image * Add bulk update performer * Add Performers tab to tag page * Add count filters and sort bys for tags * Move scene count to icon in performer card #1148
This commit is contained in:
@@ -100,6 +100,13 @@ func (s *stashScraper) scrapePerformerByFragment(scrapedPerformer models.Scraped
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if q.FindPerformer != nil {
|
||||
// the ids of the tags must be nilled
|
||||
for _, t := range q.FindPerformer.Tags {
|
||||
t.ID = nil
|
||||
}
|
||||
}
|
||||
|
||||
// need to copy back to a scraped performer
|
||||
ret := models.ScrapedPerformer{}
|
||||
err = copier.Copy(&ret, q.FindPerformer)
|
||||
|
||||
Reference in New Issue
Block a user