Don't return cached internal array for child notes
This commit is contained in:
parent
9b7984ef26
commit
4eec421fe4
1 changed files with 1 additions and 1 deletions
|
@ -2041,7 +2041,7 @@ Zotero.Item.prototype.getNotes = function(includeTrashed) {
|
|||
+ 'With' + (includeTrashed ? '' : 'out') + 'Trashed';
|
||||
|
||||
if (this._notes[cacheKey]) {
|
||||
return this._notes[cacheKey];
|
||||
return [...this._notes[cacheKey]];
|
||||
}
|
||||
|
||||
var rows = this._notes.rows.concat();
|
||||
|
|
Loading…
Add table
Reference in a new issue