Fix indexing of synced full-text content
This commit is contained in:
parent
b077e1cd8c
commit
21a3bf8aa5
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue