Closed gestchild closed 1 month ago
Size Change: +78 B (+0.01%)
Total Size: 971 kB
Filename | Size | Change | |
---|---|---|---|
content/webapp/.next/static/chunks/9704-f98e3d64b767b1d3.js |
0 B | -4.52 kB (removed) | đ |
content/webapp/.next/static/chunks/pages/works/[workId]-497862d3981c0cad.js |
0 B | -25.6 kB (removed) | đ |
content/webapp/.next/static/chunks/9704-cabf3fa83d4504e4.js |
4.55 kB | +4.55 kB (new file) | đ |
content/webapp/.next/static/chunks/pages/works/[workId]-09de93178bbc8627.js |
25.7 kB | +25.7 kB (new file) | đ |
For some works, the item link isn't showing on the work page.
There is a discussion in slack about this
This is because some iiif manifests for PDFs (as in this case), are identified as 'born digital' and so we show a download list for these items instead (if the toggle is on).
However, we know we can display PDFs on the items page, so if ALL the born digital items in a iiif manifest are PDFs we should show the link. That is what this PR does.
N.B. not all iiif manifests for PDFs are identified as born digital and so their work page already displays a link to the item page, so now the behaviour is consistent for all PDFs.
I believe difference in IIIF manifests for PDFs relates to changes to the DLCS that took place in May 2023. iiif manifests created before this time follow one structure, while those created after follow another.