From 0e20b62541ea10c88b41b10859317d4a2ff10ba8 Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Tue, 26 Sep 2017 10:11:06 -0300 Subject: [PATCH] updated eds article js to look for TitleSource instead of Src --- targets/eds/js/eds_results_article.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/targets/eds/js/eds_results_article.js b/targets/eds/js/eds_results_article.js index 45f49c9..7c2ac9d 100644 --- a/targets/eds/js/eds_results_article.js +++ b/targets/eds/js/eds_results_article.js @@ -47,10 +47,8 @@ Drupal.behaviors.roblib_search_eds_articles = { items.push(''); - if (typeof val.Items.Src !== 'undefined') { - jQuery.each(val.Items.Src, function (key4, source) { - items.push('
In: ' + source.Data + '
'); - }) + if (typeof val.Items.TitleSource !== 'undefined') { + items.push('
In: ' + val.Items.TitleSource.Data + '
'); } if (typeof val.PLink !== 'undefined' && typeof val.PDF !== 'undefined' && val.PDF == 'pdflink') { items.push('');