10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-23 11:17:42 +02: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,7 +235,9 @@ draft: false
for (const val of vals) {
for (const set of publis.sets.values()) {
if (set.includes(val)) {
newvals.push(set)
if (!newvals.some(v=>JSON.stringify(v)===JSON.stringify(set))) {
newvals.push(set)
}
}
}
}