Production release May 2024 [EXPLORE] #40
|
@ -230,7 +230,7 @@ export class SearchProjectsService {
|
||||||
for(let z=0; z<fundingLength; z++) {
|
for(let z=0; z<fundingLength; z++) {
|
||||||
let fundingData = Array.isArray(resData['fundingtree']) ? resData['fundingtree'][z] : resData['fundingtree'];
|
let fundingData = Array.isArray(resData['fundingtree']) ? resData['fundingtree'][z] : resData['fundingtree'];
|
||||||
if(fundingData.hasOwnProperty("funder")) {
|
if(fundingData.hasOwnProperty("funder")) {
|
||||||
result['funderShortname'] = fundingData['funder'].shortname ? fundingData['funder'].shortname : fundingData['funder'].name;
|
result['funderShortname'] = fundingData['funder'].shortname;
|
||||||
result['funderId'] = fundingData['funder'].id;
|
result['funderId'] = fundingData['funder'].id;
|
||||||
result['jurisdiction'] = (fundingData['funder']['id']['jurisdiction'] )?fundingData['funder']['id']['jurisdiction']:"";
|
result['jurisdiction'] = (fundingData['funder']['id']['jurisdiction'] )?fundingData['funder']['id']['jurisdiction']:"";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue