Addresses #1047, Timeline items not displaying for collections

This commit is contained in:
Dan Stillman 2008-06-20 18:27:30 +00:00
parent 461225ac15
commit 4525afddc5

View file

@ -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 = [];