From 95992efe68a7033bc81ea94ae6728a43780c22f9 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 | 1 + package.json | 4 ++++ src/routes/RequestsRoute.js | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c04d16f..2b14b7a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [11.1.0] IN PROGRESS +* Migrate from `mod-circulation` to `mod-circulation-bff` for `Print pick slips` and `Print search slips`. Refs UIREQ-1154. ## [11.0.1] (https://github.com/folio-org/ui-requests/tree/v11.0.1) (2024-12-02) [Full Changelog](https://github.com/folio-org/ui-requests/compare/v11.0.0...v11.0.1) diff --git a/package.json b/package.json index 58f71223..a8cb21f3 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: {