10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 21:24:00 +01:00

Fix select for multiple DOIs

This commit is contained in:
Mickaël Véril 2020-08-25 09:35:13 +02:00
parent f81b0a8653
commit 971f464ee6

View File

@ -235,10 +235,12 @@ draft: false
for (const val of vals) { for (const val of vals) {
for (const set of publis.sets.values()) { for (const set of publis.sets.values()) {
if (set.includes(val)) { if (set.includes(val)) {
if (!newvals.some(v=>JSON.stringify(v)===JSON.stringify(set))) {
newvals.push(set) newvals.push(set)
} }
} }
} }
}
vals = newvals vals = newvals
} }
textSelctor = function (value) { textSelctor = function (value) {