CDLUC3 / dmsp_api_prototype

The new DMPTool API (formerly the DMPHub)
MIT License
0 stars 0 forks source link

Fix bug with certain DMP landing pages #5

Closed briri closed 3 months ago

briri commented 3 months ago

Fixes: #3

Was a very small change, so already deployed and tested on stage and prod.

briri commented 3 months ago

@jupiter007 I made the change you suggested and also discovered an issue with the related works section for a very old DMP ID, https://dmphub.uc3prd.cdlib.net/dmps/10.48321/D1H010. This DMP has related work entries that do not have a work_type defined. I added some logic for this scenario that places these works into an other grouping.

jupiter007 commented 3 months ago

https://dmphub.uc3prd.cdlib.net/dmps/10.48321/D1H010

Thanks Brian. Good catch.