From 2b699fcf95b83fcda05614dfdda5bea280947a7a Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Thu, 30 May 2024 13:12:07 +1000 Subject: [PATCH] Default create missing to true in Identify (#4873) * Default create missing to true in Identify * Update manual --- .../Dialogs/IdentifyDialog/IdentifyDialog.tsx | 15 +++++++++++++++ ui/v2.5/src/docs/en/Manual/Identify.md | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ui/v2.5/src/components/Dialogs/IdentifyDialog/IdentifyDialog.tsx b/ui/v2.5/src/components/Dialogs/IdentifyDialog/IdentifyDialog.tsx index 76088d19e..3073a7952 100644 --- a/ui/v2.5/src/components/Dialogs/IdentifyDialog/IdentifyDialog.tsx +++ b/ui/v2.5/src/components/Dialogs/IdentifyDialog/IdentifyDialog.tsx @@ -46,6 +46,21 @@ export const IdentifyDialog: React.FC = ({ field: "title", 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, setCoverImage: true, diff --git a/ui/v2.5/src/docs/en/Manual/Identify.md b/ui/v2.5/src/docs/en/Manual/Identify.md index 8d0b3af2e..cacd27923 100644 --- a/ui/v2.5/src/docs/en/Manual/Identify.md +++ b/ui/v2.5/src/docs/en/Manual/Identify.md @@ -28,7 +28,7 @@ Field specific options may be set as well. Each field may have a Strategy. The b | Overwrite | Overwrite existing value. | | 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.