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 1 month ago

briri commented 1 month ago

Fixes: #3

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

briri commented 1 month 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 1 month ago

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

Thanks Brian. Good catch.