From 11e3603a736ea2c795bf504abfcb6ea84d6facbe Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 17 Mar 2016 02:07:45 -0400 Subject: [PATCH] Fix creator search in Quick Format dialog Broken by 7d404e8d4a --- chrome/content/zotero/integration/quickFormat.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index abecb2330..23832c656 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -305,9 +305,7 @@ var Zotero_QuickFormat = new function () { // Generate a string to search for each item let item = citedItems[i]; let itemStr = item.getCreators() - .map(creator => { - creator.ref.firstName + " " + creator.ref.lastName - }) + .map(creator => creator.ref.firstName + " " + creator.ref.lastName) .concat([item.getField("title"), item.getField("date", true, true).substr(0, 4)]) .join(" ");