From 8b1f10aee0ccaa2bc4bb53701a8f7999e7be9219 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 27 Mar 2016 03:19:39 -0400 Subject: [PATCH] Properly delete library version for full-text sync on library delete --- chrome/content/zotero/xpcom/fulltext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 8cfa71843..531ac8cdb 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -119,7 +119,7 @@ Zotero.Fulltext = Zotero.FullText = new function(){ this.clearLibraryVersion = function (libraryID) { - return Zotero.DB.queryAsync("DELETE FROM version WHERE schema=?", "fulltext" + libraryID); + return Zotero.DB.queryAsync("DELETE FROM version WHERE schema=?", "fulltext_" + libraryID); };