diff --git a/CHANGELOG.md b/CHANGELOG.md index 42fc0243..75ca7cf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ * Implement feature toggle for ECS and not ECS envs. Refs UIREQ-1171. * Hide proxy functionality for ECS with mod-tlr enabled. Refs UIREQ-1185. * Update permission after mod-patron-blocks permission changes. Refs UIREQ-1201. +* 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 049ae7dd..ddddb885 100644 --- a/package.json +++ b/package.json @@ -134,6 +134,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", @@ -148,6 +150,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: {