www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 21a3bf8aa5932fd6f80c1b2591903e0ae34d4860
parent b077e1cd8c19969bec8dbba889a27c0ae760d3e1
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 21 Apr 2017 02:59:24 -0400

Fix indexing of synced full-text content

Diffstat:
Mchrome/content/zotero/xpcom/fulltext.js | 2+-
Mchrome/content/zotero/xpcom/zotero.js | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js @@ -958,7 +958,7 @@ Zotero.Fulltext = Zotero.FullText = new function(){ return; } var itemID = item.id; - var currentVersion = this.getItemVersion(itemID) + var currentVersion = yield this.getItemVersion(itemID) var processorCacheFile = this.getItemProcessorCacheFile(item); var itemCacheFile = this.getItemCacheFile(item); diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -1781,7 +1781,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); yield Zotero.DB.executeTransaction(function* () { return Zotero.Tags.purge(); }); - Zotero.Fulltext.purgeUnusedWords(); + yield Zotero.Fulltext.purgeUnusedWords(); yield Zotero.DB.executeTransaction(function* () { return Zotero.Items.purge(); });