From ea18641a629de39dcfda9e098061a098443be86c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 20 Dec 2021 21:34:14 -0500 Subject: [PATCH] Annotation import: Use `skipAll` for lastProcessedModificationTime save --- chrome/content/zotero/xpcom/pdfWorker/manager.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/pdfWorker/manager.js b/chrome/content/zotero/xpcom/pdfWorker/manager.js index 3b9a40932c..6ab942b5b1 100644 --- a/chrome/content/zotero/xpcom/pdfWorker/manager.js +++ b/chrome/content/zotero/xpcom/pdfWorker/manager.js @@ -315,7 +315,9 @@ class PDFWorker { } attachment.attachmentLastProcessedModificationTime = mtime; - await attachment.saveTx({ skipDateModifiedUpdate: true }); + await attachment.saveTx({ + skipAll: true + }); Zotero.debug(`Imported ${imported.length} annotation(s) for item ${attachment.libraryKey} ` + `in ${new Date() - t} ms`);