commit dfdfbf12583e3db191627bf77c2d0509959ba91a
parent 2a0c95d0adcfd19d7deafc912c5152947c38d6e2
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 3 Feb 2013 06:12:23 -0500
Properly clear temp DB tables from items list generation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}
};