Fix retracted items in unloaded libraries not being flagged correctly
This commit is contained in:
parent
42782f73fb
commit
8589aae7bc
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ Zotero.Retractions = {
|
|||
var sql = "REPLACE INTO retractedItems VALUES (?, ?)";
|
||||
await Zotero.DB.queryAsync(sql, [itemID, JSON.stringify(o)]);
|
||||
|
||||
var item = Zotero.Items.get(itemID);
|
||||
var item = await Zotero.Items.getAsync(itemID);
|
||||
var libraryID = item.libraryID;
|
||||
this._retractedItems.add(itemID);
|
||||
if (!item.deleted) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue