From 4bdb73df6947b3b9163e56a97027bd68c9f64ac2 Mon Sep 17 00:00:00 2001 From: Tim Hostetler Date: Mon, 10 Jul 2017 13:44:36 -0400 Subject: [PATCH] Fix References Links --- src/js/widgets/resources/actions.js | 17 ++++++++++++++++- src/js/widgets/resources/reducers.js | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/js/widgets/resources/actions.js b/src/js/widgets/resources/actions.js index 79fe1e161..d1e4fba81 100644 --- a/src/js/widgets/resources/actions.js +++ b/src/js/widgets/resources/actions.js @@ -5,7 +5,22 @@ define([ 'analytics' ], function (_, ApiQuery, analytics) { - var FIELDS = ['links_data']; + var FIELDS = [ + 'links_data', + '[citations]', + 'property', + 'bibcode', + 'first_author', + 'year', + 'page', + 'pub', + 'pubdate', + 'title', + 'volume', + 'doi', + 'issue', + 'issn' + ]; var API_QUERY_DELAY = 300; var actions = {}; diff --git a/src/js/widgets/resources/reducers.js b/src/js/widgets/resources/reducers.js index e5e2ebb4d..f642f7237 100644 --- a/src/js/widgets/resources/reducers.js +++ b/src/js/widgets/resources/reducers.js @@ -1,5 +1,5 @@ 'use strict'; -define([], function (helper) { +define([], function () { var initialState = function () { return {