mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
Fix another Bluebird removal bug
Use of `Promise.map()`
This commit is contained in:
parent
e07ac6243c
commit
b7c2002b63
1 changed files with 2 additions and 2 deletions
|
|
@ -724,11 +724,11 @@ Zotero.Search.prototype.search = async function (asTempTable) {
|
|||
// Search the full-text content
|
||||
else if (scopeIDs.length) {
|
||||
let found = new Set(
|
||||
await Zotero.Fulltext.findTextInItems(
|
||||
(await Zotero.Fulltext.findTextInItems(
|
||||
scopeIDs,
|
||||
condition.value,
|
||||
condition.mode
|
||||
).map(x => x.id)
|
||||
)).map(x => x.id)
|
||||
);
|
||||
// Either include or exclude the results, depending on the operator
|
||||
filteredIDs = scopeIDs.filter((id) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue