Fix regression in 05d74c4cac
This commit is contained in:
parent
91ef561474
commit
01ecff8e2b
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user