Fix for Case title not showing up in items list (since letter/interview change)
This commit is contained in:
parent
7c896a8ee1
commit
ddc348531f
|
@ -638,11 +638,12 @@ Zotero.Item.prototype.setField = function(field, value, loadIn){
|
||||||
/*
|
/*
|
||||||
* Get the title for an item for display in the interface
|
* Get the title for an item for display in the interface
|
||||||
*
|
*
|
||||||
* This is the same as the standard title field except for letters and interviews,
|
* This is the same as the standard title field (with includeBaseMapped on)
|
||||||
* which get placeholder titles in square braces (e.g. "[Letter to Thoreau]")
|
* except for letters and interviews, which get placeholder titles in
|
||||||
|
* square braces (e.g. "[Letter to Thoreau]")
|
||||||
*/
|
*/
|
||||||
Zotero.Item.prototype.getDisplayTitle = function (includeAuthorAndDate) {
|
Zotero.Item.prototype.getDisplayTitle = function (includeAuthorAndDate) {
|
||||||
var title = this.getField('title');
|
var title = this.getField('title', false, true);
|
||||||
|
|
||||||
var itemTypeID = this.getType();
|
var itemTypeID = this.getType();
|
||||||
var itemTypeName = Zotero.ItemTypes.getName(itemTypeID);
|
var itemTypeName = Zotero.ItemTypes.getName(itemTypeID);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user