From 02dc090c80da7b5da4d9a1d2515615a2d4b65b89 Mon Sep 17 00:00:00 2001 From: vashjs 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) (cherry picked from commit c3e8453d02d975fb1c38e00eec4e9a0c0801a040) --- CHANGELOG.md | 2 ++ src/hooks/api/useBulkOperationUsers.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47c710ce..03bfa909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## In progress +* [UIBULKED-373](https://issues.folio.org/browse/UIBULKED-373) "User" dropdown doesn't include Users recently run bulk edit jobs + ## [4.0.1](https://github.com/folio-org/ui-bulk-edit/tree/v4.0.1) (2023-10-24) * [UIBULKED-355](https://issues.folio.org/browse/UIBULKED-355) Remove reference to Query tab on the landing page. 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, });