Skip to content

Commit

Permalink
Weird tweak in fulltext.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Aug 30, 2017
1 parent f910b97 commit 7f215d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chrome/content/zotero/xpcom/fulltext.js
Expand Up @@ -948,7 +948,11 @@ Zotero.Fulltext = Zotero.FullText = new function(){
if (yield Zotero.DB.valueQueryAsync(sql)) {
return "&ftkeys=all";
}


// For some unknown reason, placing this logError comment here avoids a glitch
// that says the table does not exist. No idea why, but the error does not occur
// in official Zotero.
Zotero.logError("Getting itemIDs from fulltextItems");
var sql = "SELECT itemID FROM fulltextItems WHERE synced=" + this.SYNC_STATE_TO_DOWNLOAD;
var itemIDs = yield Zotero.DB.columnQueryAsync(sql);
if (!itemIDs) {
Expand Down

0 comments on commit 7f215d4

Please sign in to comment.