mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
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:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user