Closes #1687, Append reporter name to title in UI for law cases
Slightly modified verison of Frank's patch
This commit is contained in:
parent
5649e26ec2
commit
953fa4a660
1 changed files with 6 additions and 0 deletions
|
@ -875,6 +875,12 @@ Zotero.Item.prototype.getDisplayTitle = function (includeAuthorAndDate) {
|
|||
title += Zotero.localeJoin(strParts, '; ');
|
||||
title += ']';
|
||||
}
|
||||
else if (itemTypeID == 17 && title) { // 'case' itemTypeID
|
||||
var reporter = this.getField('reporter');
|
||||
if (reporter) {
|
||||
title = Zotero.localeJoin([title, '(' + reporter + ')']);
|
||||
}
|
||||
}
|
||||
|
||||
return title;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue