Add ignore autotag flag (#2439)

* Add autoTagIgnored to database schema
* Graphql changes
* UI changes
* Add field to edit performers dialog
* Apply flag to autotag behaviour
This commit is contained in:
WithoutPants
2022-04-04 20:03:39 +10:00
committed by GitHub
parent 2aee6cc18e
commit 61d9f57ce9
52 changed files with 477 additions and 206 deletions

View File

@@ -31,6 +31,7 @@ const (
details = "details"
rating = 5
parentStudioName = "parentStudio"
autoTagIgnored = true
)
var parentStudio models.Studio = models.Studio{
@@ -66,7 +67,8 @@ func createFullStudio(id int, parentID int) models.Studio {
UpdatedAt: models.SQLiteTimestamp{
Timestamp: updateTime,
},
Rating: models.NullInt64(rating),
Rating: models.NullInt64(rating),
IgnoreAutoTag: autoTagIgnored,
}
if parentID != 0 {
@@ -106,6 +108,7 @@ func createFullJSONStudio(parentStudio, image string, aliases []string) *jsonsch
StashIDs: []models.StashID{
stashID,
},
IgnoreAutoTag: autoTagIgnored,
}
}