From c3e8453d02d975fb1c38e00eec4e9a0c0801a040 Mon Sep 17 00:00:00 2001 From: vashjs <86330150+vashjs@users.noreply.github.com> Date: Mon, 30 Oct 2023 21:50:30 +0000 Subject: [PATCH] UIBULKED-373 "User" dropdown doesn't include Users recently run bulk edit jobs (#403) --- CHANGELOG.md | 1 + src/hooks/api/useBulkOperationUsers.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02fe7f44..e7c3e82f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * [UIBULKED-355](https://issues.folio.org/browse/UIBULKED-355) Remove reference to Query tab on the landing page. * [UIBULKED-315](https://issues.folio.org/browse/UIBULKED-315) Group holdings record properties using optgroup component * [UIBULKED-354](https://issues.folio.org/browse/UIBULKED-354) Two identical files with the preview of proposed changes are downloaded from Logs +* [UIBULKED-373](https://issues.folio.org/browse/UIBULKED-373) "User" dropdown doesn't include Users recently run bulk edit jobs ## [4.0.0](https://github.com/folio-org/ui-bulk-edit/tree/v4.0.0) (2023-10-12) diff --git a/src/hooks/api/useBulkOperationUsers.js b/src/hooks/api/useBulkOperationUsers.js index 56de0b13..d9529e95 100644 --- a/src/hooks/api/useBulkOperationUsers.js +++ b/src/hooks/api/useBulkOperationUsers.js @@ -7,7 +7,7 @@ export const useBulkOperationUsers = (options) => { const { data, isLoading } = useQuery({ queryKey: ['bulkOperationUsers'], - queryFn: () => ky.get(`bulk-operations/list-users?query=(entityType==("${CAPABILITIES.USER}" or "${CAPABILITIES.ITEM}" or "${CAPABILITIES.HOLDING}"))&limit=100&offset=0`).json(), + queryFn: () => ky.get(`bulk-operations/list-users?query=(entityType==("${CAPABILITIES.USER}" or "${CAPABILITIES.ITEM}" or "${CAPABILITIES.HOLDING}"))&offset=0`).json(), ...options, });