From 2c41ae384a555bef82bb5d1aa3aeeee8b5bc927a Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko <85172747+OleksandrHladchenko1@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:50:46 +0100 Subject: [PATCH 1/4] UIIN-3198: Display Shared facet when user opens 'Move holdings/items to another instance' modal (#2709) --- CHANGELOG.md | 1 + src/ViewInstance.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93600d796..27dea8e49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ * Fix infinite loading animation after cancel edit/duplicate or 'Save & Close' consortial holdings/items. Fixes UIIN-3167. * Remove hover-over text next to "Effective call number" on the Item record detail view. Refs UIIN-3131. * Change import of `exportToCsv` from `stripes-util` to `stripes-components`. Refs UIIN-3025. +* Display `Shared` facet when user opens "Move holdings/items to another instance" modal. Refs UIIN-3198. ## [12.0.8](https://github.com/folio-org/ui-inventory/tree/v12.0.8) (2024-12-24) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.7...v12.0.8) diff --git a/src/ViewInstance.js b/src/ViewInstance.js index 584c37467..4bbd5703c 100644 --- a/src/ViewInstance.js +++ b/src/ViewInstance.js @@ -1232,7 +1232,6 @@ class ViewInstance extends React.Component { onSelect={this.selectInstance} onClose={this.toggleFindInstancePlugin} withTrigger={false} - suppressSharedFacet /> ) } From f6485469f00604ef1eefa7b082c688a08e121840 Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko <85172747+OleksandrHladchenko1@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:06:15 +0100 Subject: [PATCH 2/4] UIIN-3188: ECS - Allow 'Move holdings/items to another instance' if instance is shared (#2710) --- CHANGELOG.md | 1 + src/ViewInstance.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27dea8e49..bcad3b699 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ * Remove hover-over text next to "Effective call number" on the Item record detail view. Refs UIIN-3131. * Change import of `exportToCsv` from `stripes-util` to `stripes-components`. Refs UIIN-3025. * Display `Shared` facet when user opens "Move holdings/items to another instance" modal. Refs UIIN-3198. +* ECS - Allow 'Move holdings/items to another instance' if instance is shared. Refs UIIN-3188. ## [12.0.8](https://github.com/folio-org/ui-inventory/tree/v12.0.8) (2024-12-24) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.7...v12.0.8) diff --git a/src/ViewInstance.js b/src/ViewInstance.js index 4bbd5703c..fba152477 100644 --- a/src/ViewInstance.js +++ b/src/ViewInstance.js @@ -840,7 +840,7 @@ class ViewInstance extends React.Component { ); const showQuickMarcMenuSection = isSourceMARC && (canCreateMARCHoldings || canEditMARCRecord || canDeriveMARCRecord); - const canMoveHoldingsItemsToAnotherInstance = (canMoveItems || canMoveHoldings) && !isShared; + const canMoveHoldingsItemsToAnotherInstance = canMoveItems || canMoveHoldings; // the `identifier` is responsible for displaying the plugin `copyright-permissions-checker` if (!showInventoryMenuSection && !showQuickMarcMenuSection && !identifier) { From 5733bfbee2b92368407b2343f579856881bbc1ce Mon Sep 17 00:00:00 2001 From: Mariia Aloshyna <55138456+mariia-aloshyna@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:34:07 +0200 Subject: [PATCH 3/4] UIIN-3196: Fix '"location name" is undefined' error when trying to open instance details on ECS (#2711) --- CHANGELOG.md | 1 + .../consortium/LimitedHoldingsList/LimitedHoldingsList.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcad3b699..b35adebbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * Change import of `exportToCsv` from `stripes-util` to `stripes-components`. Refs UIIN-3025. * Display `Shared` facet when user opens "Move holdings/items to another instance" modal. Refs UIIN-3198. * ECS - Allow 'Move holdings/items to another instance' if instance is shared. Refs UIIN-3188. +* Fix '"location name" is undefined' error when trying to open instance details on ECS. Fixes UIIN-3196. ## [12.0.8](https://github.com/folio-org/ui-inventory/tree/v12.0.8) (2024-12-24) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.7...v12.0.8) diff --git a/src/Instance/HoldingsList/consortium/LimitedHoldingsList/LimitedHoldingsList.js b/src/Instance/HoldingsList/consortium/LimitedHoldingsList/LimitedHoldingsList.js index e90856712..fe22e07ce 100644 --- a/src/Instance/HoldingsList/consortium/LimitedHoldingsList/LimitedHoldingsList.js +++ b/src/Instance/HoldingsList/consortium/LimitedHoldingsList/LimitedHoldingsList.js @@ -19,7 +19,7 @@ const LimitedHoldingsList = ({ instance={instance} holding={holding} tenantId={tenantId} - locationName={locationsById[holding.permanentLocationId].name} + locationName={locationsById[holding.permanentLocationId]?.name} userTenantPermissions={userTenantPermissions} pathToAccordionsState={pathToAccordionsState} /> From 616fce6b0e94126531afec59ce60374f7a277e70 Mon Sep 17 00:00:00 2001 From: Mariia Aloshyna <55138456+mariia-aloshyna@users.noreply.github.com> Date: Thu, 16 Jan 2025 16:32:49 +0200 Subject: [PATCH 4/4] Release v12.0.9 (#2714) --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b35adebbc..353e20cb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,13 +10,17 @@ * React 19: refactor away from react-dom/test-utils. Refs UIIN-2888. * Add call number browse settings. Refs UIIN-3116. * Add "linked-data 1.0" interface to "optionalOkapiInterfaces". Refs UIIN-3166. -* Fix infinite loading animation after cancel edit/duplicate or 'Save & Close' consortial holdings/items. Fixes UIIN-3167. * Remove hover-over text next to "Effective call number" on the Item record detail view. Refs UIIN-3131. * Change import of `exportToCsv` from `stripes-util` to `stripes-components`. Refs UIIN-3025. * Display `Shared` facet when user opens "Move holdings/items to another instance" modal. Refs UIIN-3198. * ECS - Allow 'Move holdings/items to another instance' if instance is shared. Refs UIIN-3188. * Fix '"location name" is undefined' error when trying to open instance details on ECS. Fixes UIIN-3196. +## [12.0.9](https://github.com/folio-org/ui-inventory/tree/v12.0.9) (2025-01-13) +[Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.8...v12.0.9) + +* Fix infinite loading animation after cancel edit/duplicate or 'Save & Close' consortial holdings/items. Fixes UIIN-3167. + ## [12.0.8](https://github.com/folio-org/ui-inventory/tree/v12.0.8) (2024-12-24) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.7...v12.0.8)