digirati-co-uk / pmc-lux

Transforming data from PMC catalogues for import to LUX
MIT License
1 stars 0 forks source link

Archives – Add sort identifier to archives to ensure explore list is in the right order #14

Closed brutaldigital closed 1 month ago

brutaldigital commented 1 month ago

Single digit numbers references are displaying out of order. E.g.

BS/6/1/1 - Hieronymous Bosch
BS/6/1/10 - David Hockney BS/6/1/11 - Post-war artists

Ordering of sets should use record ID as sort value.

{
"type": "Identifier",
"content": "000001f40002fda0",
"classified_as": [
{
"id": "https://vocab.getty.edu/aat/300451544",
"type": "Type",
"_label": "Sort Name"
}
],
"assigned_by": [
{
"type": "AttributeAssignment",
"motivated_by": [
{
"id": "https://linked-art.library.yale.edu/node/b95ab112-61ec-455e-ba54-949433b69ca6",
"type": "Set",
"_label": "Series I: Correspondence, 1917-1979"
}
]
}
]
}
azaroth42 commented 1 month ago

This one is a vocabulary synchronization issue. YUL's archive uses an older identifier, so that's what the code checks for. We've asked YUL to update to the newer AAT which you already use.

So this can be closed -- it'll fix itself as soon as YUL updates.

azaroth42 commented 3 weeks ago

Fixed: https://lux-front-sbx.collections.yale.edu/view/set/1b1e6ec4-b01e-4f48-a0f1-e98f489ea280