Skip to content

Commit

Permalink
UIBULKED-412 Not all but up to 10 note types are displayed in Bulk ed…
Browse files Browse the repository at this point in the history
…it (#473)
  • Loading branch information
NikitaSedyx authored Feb 8, 2024
1 parent b9a5064 commit 8d07d85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* [UIBULKED-403](https://issues.folio.org/browse/UIBULKED-403) Integrate query-plugin with bulk-edit API.
* [UIBULKED-246](https://issues.folio.org/browse/UIBULKED-246) Enabling Build query button on Query tab.
* [UIBULKED-367](https://issues.folio.org/browse/UIBULKED-367) Logs - Provide a link to file with identifiers of the records affected by query.
* [UIBULKED-412](https://issues.folio.org/browse/UIBULKED-412) Not all but up to 10 note types are displayed in Bulk edit.

## [4.0.0](https://github.com/folio-org/ui-bulk-edit/tree/v4.0.0) (2023-10-12)

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/api/useHoldingsNotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const useHoldingsNotes = (options = {}) => {
queryKey: 'holdingsNotes',
cacheTime: Infinity,
staleTime: Infinity,
queryFn: () => ky.get('holdings-note-types').json(),
queryFn: () => ky.get('holdings-note-types', { searchParams: { limit: 1000 } }).json(),
...options,
},
);
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/api/useItemNotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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,
},
);
Expand Down

0 comments on commit 8d07d85

Please sign in to comment.