From b7d139be34144d76fa8799425a706a8e65d97c58 Mon Sep 17 00:00:00 2001 From: Dmitriy-Litvinenko Date: Tue, 19 Nov 2024 14:57:30 +0200 Subject: [PATCH] UIREQ-1154: Migrate from mod-circulation to mod-circulation-bff for Print pick slips and Print search slips --- CHANGELOG.md | 4 +++- package.json | 4 ++++ src/routes/RequestsRoute.js | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f71065d3..fea9b6c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Change history for ui-requests ## 11.0.0 (IN PROGRESS) -* Consistency update permission after change them in mod-circulation. Refs UIREQ-1194. + * Use settings/entries endpoint to get settings information. Refs UIREQ-1062. * Requests app.: Editing requests (ECS with mod-tlr enabled). Refs UIREQ-1088. * Requests app.: Cancelling request (ECS with mod-tlr enabled). Refs UIREQ-1090. @@ -19,7 +19,9 @@ * Add `mod-settings.entries.collection.get` permission. Refs UIREQ-1177. * *BREAKING* Migrate to new `mod-circulation-bff` endpoints. Refs UIREQ-1134. * Implement feature toggle for ECS and not ECS envs. Refs UIREQ-1171. +* Consistency update permission after change them in mod-circulation. Refs UIREQ-1194. * Hide proxy functionality for ECS with mod-tlr enabled. Refs UIREQ-1185. +* Migrate from `mod-circulation` to `mod-circulation-bff` for `Print pick slips` and `Print search slips`. Refs UIREQ-1154. ## [10.0.2] (https://github.com/folio-org/ui-requests/tree/v10.0.2) (2024-11-22) [Full Changelog](https://github.com/folio-org/ui-requests/compare/v10.0.1...v10.0.2) diff --git a/package.json b/package.json index c10fac02..41326287 100644 --- a/package.json +++ b/package.json @@ -133,6 +133,8 @@ "circulation-storage.staff-slips.collection.get", "circulation.pick-slips.get", "circulation.search-slips.get", + "circulation-bff.pick-slips.collection.get", + "circulation-bff.search-slips.collection.get", "circulation.print-events-entry.item.post", "inventory-storage.locations.item.get", "circulation-bff.requests.search-instances.get", @@ -147,6 +149,8 @@ "ui-requests.view", "circulation.pick-slips.get", "circulation.search-slips.get", + "circulation-bff.pick-slips.collection.get", + "circulation-bff.search-slips.collection.get", "circulation.requests.item.put", "circulation.requests.allowed-service-points.get", "circulation-bff.requests.allowed-service-points.get", diff --git a/src/routes/RequestsRoute.js b/src/routes/RequestsRoute.js index a62c21f4..e7f18a51 100644 --- a/src/routes/RequestsRoute.js +++ b/src/routes/RequestsRoute.js @@ -441,13 +441,13 @@ class RequestsRoute extends React.Component { pickSlips: { type: 'okapi', records: 'pickSlips', - path: 'circulation/pick-slips/%{currentServicePoint.id}', + path: 'circulation-bff/pick-slips/%{currentServicePoint.id}', throwErrors: false, }, searchSlips: { type: 'okapi', records: 'searchSlips', - path: 'circulation/search-slips/%{currentServicePoint.id}', + path: 'circulation-bff/search-slips/%{currentServicePoint.id}', throwErrors: false, }, printHoldRequests: {