www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit c0ad18ee289bd10899d238dd9d5d9c00db422e1f
parent cc497c271853881c6a4a87a1999898430159a742
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 29 Oct 2007 20:31:57 +0000

Fix for Case title not showing up in items list (since letter/interview change)


Diffstat:
Mchrome/content/zotero/xpcom/data_access.js | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/data_access.js b/chrome/content/zotero/xpcom/data_access.js @@ -638,11 +638,12 @@ Zotero.Item.prototype.setField = function(field, value, loadIn){ /* * 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, - * which get placeholder titles in square braces (e.g. "[Letter to Thoreau]") + * This is the same as the standard title field (with includeBaseMapped on) + * except for letters and interviews, which get placeholder titles in + * square braces (e.g. "[Letter to Thoreau]") */ Zotero.Item.prototype.getDisplayTitle = function (includeAuthorAndDate) { - var title = this.getField('title'); + var title = this.getField('title', false, true); var itemTypeID = this.getType(); var itemTypeName = Zotero.ItemTypes.getName(itemTypeID);