Fix regression in 05d74c4cac

This commit is contained in:
Dan Stillman 2017-08-30 18:46:40 -04:00
parent 91ef561474
commit 01ecff8e2b

View File

@ -1834,8 +1834,7 @@ Zotero.Item.prototype.isTopLevelItem = function () {
Zotero.Item.prototype.numChildren = function(includeTrashed) { Zotero.Item.prototype.numChildren = function(includeTrashed) {
this._requireData('childItems'); return this.numNotes(includeTrashed) + this.numAttachments(includeTrashed);
return this._notes.rows.length + this._attachments.rows.length;
} }