www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 01ecff8e2b248f446e35c1c20f15bfcbf8fac610
parent 91ef56147446e6147d0ad97d5f0317400f99e5a8
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 30 Aug 2017 18:46:40 -0400

Fix regression in 05d74c4cac

Diffstat:
Mchrome/content/zotero/xpcom/data/item.js | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -1834,8 +1834,7 @@ Zotero.Item.prototype.isTopLevelItem = function () { Zotero.Item.prototype.numChildren = function(includeTrashed) { - this._requireData('childItems'); - return this._notes.rows.length + this._attachments.rows.length; + return this.numNotes(includeTrashed) + this.numAttachments(includeTrashed); }