From c9aa83035993353c262211424e8bff59d5e3920a Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Fri, 15 Sep 2017 15:19:22 -0300 Subject: [PATCH] added the profile type to the output of eds_get_info call --- targets/eds/roblib_search_eds.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/targets/eds/roblib_search_eds.module b/targets/eds/roblib_search_eds.module index b5f478c..16150ef 100644 --- a/targets/eds/roblib_search_eds.module +++ b/targets/eds/roblib_search_eds.module @@ -53,8 +53,10 @@ function roblib_search_eds_menu() { function roblib_search_eds_info($type = 'Articles') { $config = roblib_search_eds_build_config_arr($type); $eds_api = new EBSCOAPI($config); - $output = $eds_api->getInfo(); + $output['type'] = $type; + $output['profile'] = $eds_api->getInfo(); print json_encode($output); + exit(); }