Fixed excluded authors in advanced search
This commit is contained in:
parent
1cd71a497c
commit
6d9c57d48f
2
js/application.min.js
vendored
2
js/application.min.js
vendored
File diff suppressed because one or more lines are too long
6
js/complete.min.js
vendored
6
js/complete.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user