From edaed31dca8b6cf9542464ee07901a4f970e6f81 Mon Sep 17 00:00:00 2001 From: Uladzislau_Kutarkin Date: Wed, 14 Feb 2024 13:44:21 +0400 Subject: [PATCH] Release v4.0.3 --- CHANGELOG.md | 4 ++++ src/hooks/api/useItemNotes.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b02dc02..45f96475 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## In progress +## [4.0.3](https://github.com/folio-org/ui-bulk-edit/tree/v4.0.3) (2024-02-14) + +* [UIBULKED-412](https://issues.folio.org/browse/UIBULKED-412) Not all but up to 10 note types are displayed in Bulk edit. + ## [4.0.2](https://github.com/folio-org/ui-bulk-edit/tree/v4.0.2) (2023-11-06) * [UIBULKED-373](https://issues.folio.org/browse/UIBULKED-373) "User" dropdown doesn't include Users recently run bulk edit jobs diff --git a/src/hooks/api/useItemNotes.js b/src/hooks/api/useItemNotes.js index bd29a151..339b872d 100644 --- a/src/hooks/api/useItemNotes.js +++ b/src/hooks/api/useItemNotes.js @@ -12,7 +12,7 @@ export const useItemNotes = (options = {}) => { queryKey: 'itemNotes', cacheTime: Infinity, staleTime: Infinity, - queryFn: () => ky.get('item-note-types').json(), + queryFn: () => ky.get('item-note-types', { searchParams: { limit: 1000 } }).json(), ...options, }, );