Fix error from letter items with more than 10 recipients
https://forums.zotero.org/discussion/40218/
This commit is contained in:
parent
ce6cba7974
commit
10ba5e31d6
|
@ -908,9 +908,9 @@ Zotero.Item.prototype.getDisplayTitle = function (includeAuthorAndDate) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (participants.length > 0) {
|
if (participants.length > 0) {
|
||||||
var names = [];
|
let names = [];
|
||||||
for each(participant in participants) {
|
for (let i=0; i<4; i++) {
|
||||||
names.push(participant.ref.lastName);
|
names.push(participants[i].ref.lastName);
|
||||||
}
|
}
|
||||||
switch (names.length) {
|
switch (names.length) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user