Fixed excluded authors in advanced search

This commit is contained in:
Tetrakern 2024-09-01 01:13:03 +02:00
parent 1cd71a497c
commit 6d9c57d48f
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

6
js/complete.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1809,8 +1809,8 @@ class FCN_KeywordInput {
let value = this.allowList[this.encode(name)];
// Author names can be duplicates
if (this.collection.name == 'authors' && trigger) {
value = this.allowList[this.encode(name) + '_' + trigger.value];
if ((this.collection.name == 'authors' || this.collection.name == 'ex_authors') && trigger) {
value = this.allowList[this.encode(name) + `_${trigger.value}`];
}
// Only allowed value and no duplicates