diff --git a/CHANGELOG.md b/CHANGELOG.md index f6ad91aa7..7ddaef5ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -98,6 +98,7 @@ UIIN-3437. * Make interface dependencies optional (audit-inventory, circulation). Refs UIIN-3592. * Improve usage of GET `/users-keycloak/_self` requests in "Inventory" app. Fixes UIIN-3585. * Error handling is missing when creating holdings. Fixes UIIN-3591. +* Display additional call number type in Version History for Holdings correctly. Refs UIIN-3595. ## [13.0.10](https://github.com/folio-org/ui-inventory/tree/v13.0.10) (2025-09-01) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v13.0.9...v13.0.10) diff --git a/src/Holding/HoldingVersionHistory/HoldingVersionHistory.js b/src/Holding/HoldingVersionHistory/HoldingVersionHistory.js index 0fd02f25e..b44107230 100644 --- a/src/Holding/HoldingVersionHistory/HoldingVersionHistory.js +++ b/src/Holding/HoldingVersionHistory/HoldingVersionHistory.js @@ -28,6 +28,7 @@ export const getFieldFormatter = referenceData => ({ holdingsNoteTypeId: value => referenceData.holdingsNoteTypes?.find(noteType => noteType.id === value)?.name, relationshipId: value => referenceData.electronicAccessRelationships?.find(noteType => noteType.id === value)?.name, publicDisplay: value => value.toString(), + typeId: value => referenceData.callNumberTypes?.find(type => type.id === value)?.name, }); export const getItemFormatter = (fieldLabelsMap, fieldFormatter) => (element, i) => {