Skip to content

Commit

Permalink
Merge branch 'master' into UIIN-2670
Browse files Browse the repository at this point in the history
  • Loading branch information
UladzislauKutarkin committed May 9, 2024
2 parents c615584 + 12878f7 commit 037c523
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Jest/RTL: Cover ImportRecord component with unit test. Refs UIIN-2667.
* Jest/RTL: Cover MoveHoldingContext component with unit tests. Refs UIIN-2664.
* Use consolidated locations endpoint to fetch all locations when in central tenant context. Refs UIIN-2811.
* Change label of eye-readable call number search option in holdings/items. Refs UIIN-2797.
* Jest/RTL: Cover LocationSelectionWithCheck components with unit tests. Refs UIIN-2670.

## [11.0.4](https://github.com/folio-org/ui-inventory/tree/v11.0.4) (2024-04-30)
Expand Down
25 changes: 25 additions & 0 deletions src/providers/DataProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,42 +138,49 @@ DataProvider.manifest = {
records: 'identifierTypes',
path: 'identifier-types?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
contributorTypes: {
type: 'okapi',
records: 'contributorTypes',
path: 'contributor-types?limit=400&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
contributorNameTypes: {
type: 'okapi',
records: 'contributorNameTypes',
path: 'contributor-name-types?limit=1000&query=cql.allRecords=1 sortby ordering',
resourceShouldRefresh: true,
throwErrors: false,
},
instanceFormats: {
type: 'okapi',
records: 'instanceFormats',
path: 'instance-formats?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
instanceTypes: {
type: 'okapi',
records: 'instanceTypes',
path: 'instance-types?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
classificationTypes: {
type: 'okapi',
records: 'classificationTypes',
path: 'classification-types?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
alternativeTitleTypes: {
type: 'okapi',
records: 'alternativeTitleTypes',
path: 'alternative-title-types?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
locations: {
type: 'okapi',
Expand All @@ -185,24 +192,28 @@ DataProvider.manifest = {
},
accumulate: true,
resourceShouldRefresh: true,
throwErrors: false,
},
instanceRelationshipTypes: {
type: 'okapi',
records: 'instanceRelationshipTypes',
path: 'instance-relationship-types?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
instanceStatuses: {
type: 'okapi',
records: 'instanceStatuses',
path: 'instance-statuses?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
modesOfIssuance: {
type: 'okapi',
records: 'issuanceModes',
path: 'modes-of-issuance?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
instanceNoteTypes: {
type: 'okapi',
Expand All @@ -213,48 +224,56 @@ DataProvider.manifest = {
},
records: 'instanceNoteTypes',
resourceShouldRefresh: true,
throwErrors: false,
},
electronicAccessRelationships: {
type: 'okapi',
records: 'electronicAccessRelationships',
path: 'electronic-access-relationships?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
statisticalCodeTypes: {
type: 'okapi',
records: 'statisticalCodeTypes',
path: 'statistical-code-types?limit=1000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
statisticalCodes: {
type: 'okapi',
records: 'statisticalCodes',
path: 'statistical-codes?limit=2000&query=cql.allRecords=1 sortby name',
resourceShouldRefresh: true,
throwErrors: false,
},
illPolicies: {
type: 'okapi',
path: 'ill-policies?limit=1000&query=cql.allRecords=1 sortby name',
records: 'illPolicies',
resourceShouldRefresh: true,
throwErrors: false,
},
holdingsTypes: {
type: 'okapi',
path: 'holdings-types?limit=1000&query=cql.allRecords=1 sortby name',
records: 'holdingsTypes',
resourceShouldRefresh: true,
throwErrors: false,
},
callNumberTypes: {
type: 'okapi',
path: 'call-number-types?limit=1000&query=cql.allRecords=1 sortby name',
records: 'callNumberTypes',
resourceShouldRefresh: true,
throwErrors: false,
},
holdingsNoteTypes: {
type: 'okapi',
path: 'holdings-note-types?limit=1000&query=cql.allRecords=1 sortby name',
records: 'holdingsNoteTypes',
resourceShouldRefresh: true,
throwErrors: false,
},
itemNoteTypes: {
type: 'okapi',
Expand All @@ -265,18 +284,21 @@ DataProvider.manifest = {
},
records: 'itemNoteTypes',
resourceShouldRefresh: true,
throwErrors: false,
},
itemDamagedStatuses: {
type: 'okapi',
path: 'item-damaged-statuses?limit=1000&query=cql.allRecords=1 sortby name',
records: 'itemDamageStatuses',
resourceShouldRefresh: true,
throwErrors: false,
},
natureOfContentTerms: {
type: 'okapi',
path: 'nature-of-content-terms?limit=1000&query=cql.allRecords=1 sortby name',
records: 'natureOfContentTerms',
resourceShouldRefresh: true,
throwErrors: false,
},
materialTypes: {
type: 'okapi',
Expand All @@ -287,6 +309,7 @@ DataProvider.manifest = {
},
records: 'mtypes',
resourceShouldRefresh: true,
throwErrors: false,
},
loanTypes: {
type: 'okapi',
Expand All @@ -297,6 +320,7 @@ DataProvider.manifest = {
},
records: 'loantypes',
resourceShouldRefresh: true,
throwErrors: false,
},
tags: {
path: 'tags?limit=10000', // the same as Tags component in stripes-smart-components
Expand All @@ -314,6 +338,7 @@ DataProvider.manifest = {
},
records: 'holdingsRecordsSources',
resourceShouldRefresh: true,
throwErrors: false,
}
};

Expand Down
4 changes: 2 additions & 2 deletions translations/ui-inventory/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@
"isbnNormalized": "ISBN, normalized",
"issn": "ISSN",
"lccn": "LCCN, normalized",
"callNumberEyeReadable": "Call number, not normalized",
"normalizedClassificationNumber": "Classification, normalized",
"callNumberEyeReadable": "Call number, eye readable",
"callNumberNormalized": "Call number, normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"itemEffectiveCallNumberNormalized": "Effective call number (item), normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"search": "Search",
"search.all": "Keyword (title, contributor, identifier, HRID, UUID)",
"search.allFields": "All",
Expand Down

0 comments on commit 037c523

Please sign in to comment.