Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro-Melnyshyn committed Dec 12, 2024
2 parents d76bd39 + f8add43 commit 4e8a21e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
* React 19: refactor away from react-dom/test-utils. Refs UIIN-2888.
* Add call number browse settings. Refs UIIN-3116.

## [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)

Expand Down
2 changes: 1 addition & 1 deletion src/components/BrowseResultsList/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const getClassificationQuery = (qindex, data, row) => {
.find(config => config.id === classificationBrowseConfigId)?.typeIds;

const classificationBrowseTypesQuery = classificationBrowseTypes
.map(typeId => `classifications.classificationTypeId=="${typeId}"`)
?.map(typeId => `classifications.classificationTypeId=="${typeId}"`)
.join(' or ');

if (classificationBrowseTypesQuery) {
Expand Down
2 changes: 1 addition & 1 deletion src/providers/DataProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4e8a21e

Please sign in to comment.