summaryrefslogtreecommitdiff
path: root/ext/js/data/anki-note-builder.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-13 20:29:53 -0400
committerGitHub <noreply@github.com>2021-07-13 20:29:53 -0400
commitd058237ba724c3fee842d90c04b1950c9efaadc0 (patch)
treed9ec15e567693d353f37ff0158b9c792f1611ccb /ext/js/data/anki-note-builder.js
parentd5320c71a6b2219039d9e3d7c7fd4381f1c6b31d (diff)
Duplicate scope check all models (#1810)
* Add duplicateScopeCheckAllModels option to createNote * Add duplicateScopeCheckAllModels option * Add setting
Diffstat (limited to 'ext/js/data/anki-note-builder.js')
-rw-r--r--ext/js/data/anki-note-builder.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/js/data/anki-note-builder.js b/ext/js/data/anki-note-builder.js
index 621816d4..4bb3ddcb 100644
--- a/ext/js/data/anki-note-builder.js
+++ b/ext/js/data/anki-note-builder.js
@@ -41,6 +41,7 @@ class AnkiNoteBuilder {
requirements=[],
checkForDuplicates=true,
duplicateScope='collection',
+ duplicateScopeCheckAllModels=false,
resultOutputMode='split',
glossaryLayoutMode='default',
compactTags=false,
@@ -98,7 +99,8 @@ class AnkiNoteBuilder {
duplicateScope,
duplicateScopeOptions: {
deckName: duplicateScopeDeckName,
- checkChildren: duplicateScopeCheckChildren
+ checkChildren: duplicateScopeCheckChildren,
+ checkAllModels: duplicateScopeCheckAllModels
}
}
};