commit 4525afddc59d6638a3de31d27e7aa0364b0c83df
parent 461225ac1546f17fbc3b51b7df59c8c9d308dfc6
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 20 Jun 2008 18:27:30 +0000
Addresses #1047, Timeline items not displaying for collections
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/collection.js b/chrome/content/zotero/xpcom/data/collection.js
@@ -921,7 +921,7 @@ Zotero.Collection.prototype._loadChildItems = function() {
+ "(SELECT itemID FROM itemNotes WHERE sourceItemID IS NOT NULL) "
+ "AND itemID NOT IN "
+ "(SELECT itemID FROM itemAttachments WHERE sourceItemID IS NOT NULL)";
- var ids = Zotero.DB.columnQuery(sql, this._id);
+ var ids = Zotero.DB.columnQuery(sql, this.id);
this._childItems = [];