www

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

commit 3715c8da1b0688f7acc5247deab21df54e730a87
parent 52680608023189226502ab11fa2f4e5a93c73b97
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 18 Jul 2017 07:07:28 -0400

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

Diffstat:
Mchrome/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 @@ -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)); } });