From f8add43653b5bea9f5d092b3f70e6026d5001cc0 Mon Sep 17 00:00:00 2001 From: Denys Bohdan Date: Tue, 10 Dec 2024 16:24:01 +0100 Subject: [PATCH] UIIN-3163 Add `limit=1000` to `subject-sources` request to fetch more subject sources (#2692) --- CHANGELOG.md | 1 + src/providers/DataProvider.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e01f76b72..a51575939 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ ## [12.0.7] (IN PROGRESS) * Handle `null` `typeIds` in `browse/config/instance-classification` response. Fixes UIIN-3161. +* Add `limit=1000` to `subject-sources` request to fetch more subject sources. Fixes UIIN-3163. ## [12.0.6](https://github.com/folio-org/ui-inventory/tree/v12.0.6) (2024-12-06) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.5...v12.0.6) diff --git a/src/providers/DataProvider.js b/src/providers/DataProvider.js index d010e9994..936866c85 100644 --- a/src/providers/DataProvider.js +++ b/src/providers/DataProvider.js @@ -195,7 +195,7 @@ DataProvider.manifest = { }, subjectSources: { type: 'okapi', - path: 'subject-sources?query=cql.allRecords=1 sortby name', + path: 'subject-sources?limit=1000&query=cql.allRecords=1 sortby name', records: 'subjectSources', resourceShouldRefresh: true, throwErrors: false,