Clarify debug output for Zotero.DataObjects.prototype._loadDataTypeInLibrary()
This commit is contained in:
parent
3fb2dfe9ac
commit
b0b9e84650
|
@ -441,10 +441,10 @@ Zotero.DataObjects.prototype._loadDataTypeInLibrary = Zotero.Promise.coroutine(f
|
||||||
idSQL = " AND " + this.idColumn + " IN (" + ids.map(id => parseInt(id)).join(", ") + ")";
|
idSQL = " AND " + this.idColumn + " IN (" + ids.map(id => parseInt(id)).join(", ") + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
Zotero.debug("Loading " + dataType
|
Zotero.debug("Loading " + dataType + " for "
|
||||||
+ (ids
|
+ (ids
|
||||||
? " for " + ids.length + " " + (ids.length == 1 ? this._ZDO_object : this._ZDO_objects)
|
? ids.length + " " + (ids.length == 1 ? this._ZDO_object : this._ZDO_objects)
|
||||||
: '')
|
: this._ZDO_objects)
|
||||||
+ " in " + libraryName);
|
+ " in " + libraryName);
|
||||||
|
|
||||||
yield this[funcName](libraryID, ids ? ids : [], idSQL);
|
yield this[funcName](libraryID, ids ? ids : [], idSQL);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user