From dfdfbf12583e3db191627bf77c2d0509959ba91a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 3 Feb 2013 06:12:23 -0500 Subject: [PATCH] Properly clear temp DB tables from items list generation --- chrome/content/zotero/xpcom/collectionTreeView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 252bce35a7..34189e83f8 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -1872,10 +1872,10 @@ Zotero.ItemGroupCache = { "clear":function() { this.lastItemGroup = null; this.lastSearch = null; - this.lastTempTable = null; if(this.lastTempTable) { Zotero.DB.query("DROP TABLE "+this.lastTempTable); } + this.lastTempTable = null; this.lastResults = null; } };