Default create missing to true in Identify (#4873)

* Default create missing to true in Identify
* Update manual
This commit is contained in:
WithoutPants 2024-05-30 13:12:07 +10:00 committed by GitHub
parent d6158d70a9
commit 2b699fcf95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 1 deletions

View file

@ -46,6 +46,21 @@ export const IdentifyDialog: React.FC<IIdentifyDialogProps> = ({
field: "title", field: "title",
strategy: GQL.IdentifyFieldStrategy.Overwrite, strategy: GQL.IdentifyFieldStrategy.Overwrite,
}, },
{
field: "studio",
strategy: GQL.IdentifyFieldStrategy.Merge,
createMissing: true,
},
{
field: "performers",
strategy: GQL.IdentifyFieldStrategy.Merge,
createMissing: true,
},
{
field: "tags",
strategy: GQL.IdentifyFieldStrategy.Merge,
createMissing: true,
},
], ],
includeMalePerformers: true, includeMalePerformers: true,
setCoverImage: true, setCoverImage: true,

View file

@ -28,7 +28,7 @@ Field specific options may be set as well. Each field may have a Strategy. The b
| Overwrite | Overwrite existing value. | | Overwrite | Overwrite existing value. |
| Merge (*default*) | For multi-value fields, adds to existing values. For single-value fields, only sets if not already set. | | Merge (*default*) | For multi-value fields, adds to existing values. For single-value fields, only sets if not already set. |
For Studio, Performers and Tags, an option is also available to Create Missing objects. This is false by default. When true, if a Studio/Performer/Tag is included during the identification process and does not exist in the system, then it will be created. For Studio, Performers and Tags, an option is also available to Create Missing objects. This is enabled by default. When true, if a Studio/Performer/Tag is included during the identification process and does not exist in the system, then it will be created.
Default Options are applied to all sources unless overridden in specific source options. Default Options are applied to all sources unless overridden in specific source options.