From 3715c8da1b0688f7acc5247deab21df54e730a87 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 18 Jul 2017 07:07:28 -0400 Subject: [PATCH] Fix use of multiple search translators It was stopping after the first translator, which meant that some ISBN lookups failed if the ISBN wasn't in Library of Congress. Regression from 6da0845f4b, which hopefully didn't have a good reason for this --- chrome/content/zotero/xpcom/translation/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index b6d36f8c5a..0e27af7883 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -1276,7 +1276,7 @@ Zotero.Translate.Base.prototype = { if(!translators.length) { me.complete(false, "Could not find an appropriate translator"); } else { - me.setTranslator(translators[0]); + me.setTranslator(translators); deferred.resolve(Zotero.Translate.Base.prototype.translate.call(me, options)); } });