InfoCommons / cic

Apache License 2.0
0 stars 0 forks source link

Funder divisions on search response #116

Closed ryscher closed 1 year ago

ryscher commented 2 years ago

When searching for a grant by award_id, the funder divisions are broken:

https://cice-dev.paas.cc.columbia.edu/search/grants?award_id=3R01AG057510-03S1

ryscher commented 2 years ago

Sunaina reports: While debugging the issue with funder_division="National Institute of Allergy and Infectious Diseases" that goes in the ElasticSearch index with commas, I noticed that the funder_division is written/retrieved correctly when I posted a grant from Postman. So I'm guessing that maybe something is causing this to happen while posting a grant from your export script. Can you check?

e.g. I posted a grant similar to an existing grant with funder division as ["National Institute of Allergy and Infectious Diseases"]

You can try this URL to see both the grants. Grant I posted is with id=8184 and grant with id=7907 was exported from your script I think.

https://cice-dev.paas.cc.columbia.edu/search/grants?keyword=3R37AI043477