Skip to content

Commit

Permalink
Merge branch 'master' into UIIN-2669
Browse files Browse the repository at this point in the history
  • Loading branch information
UladzislauKutarkin committed May 10, 2024
2 parents 8fbeeaa + e4fcd61 commit 81bb170
Show file tree
Hide file tree
Showing 27 changed files with 155 additions and 129 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
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 ModalContent components with unit tests. Refs UIIN-2669.

## [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
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/ber.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Copy number",
"settings.goBack": "Go back to inventory settings",
"item.status.awaitingDelivery": "Awaiting delivery",
"callNumberEyeReadable": "Call number, eye readable",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"callNumberEyeReadable": "Call number, not normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"notAvailable": "N/A",
"findInstancePluginNotFound": "find-instance plugin not found",
"precedingField.title": "Title",
Expand Down
4 changes: 2 additions & 2 deletions translations/ui-inventory/ca.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Copy number",
"settings.goBack": "Go back to inventory settings",
"item.status.awaitingDelivery": "Awaiting delivery",
"callNumberEyeReadable": "Call number, eye readable",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"callNumberEyeReadable": "Call number, not normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"notAvailable": "N/A",
"findInstancePluginNotFound": "find-instance plugin not found",
"precedingField.title": "Title",
Expand Down
20 changes: 10 additions & 10 deletions translations/ui-inventory/cs_CZ.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Číslo kopie",
"settings.goBack": "Návrat k nastavení katalogu",
"item.status.awaitingDelivery": "Čeká na doručení",
"callNumberEyeReadable": "Signatura, čitelna okem",
"itemEffectiveCallNumberEyeReadable": "Efektivní signatura (jednotka), čitelná okem",
"callNumberEyeReadable": "Signatura, nenormalizovaná",
"itemEffectiveCallNumberEyeReadable": "Efektivní signatura (jednotka), nenormalizovaná",
"notAvailable": "N/A",
"findInstancePluginNotFound": "plugin najít-titul nebyl nalezen",
"precedingField.title": "Název",
Expand Down Expand Up @@ -837,7 +837,7 @@
"warning.instance.accessSharedInstance": "Aktuálně nemáte oprávnění pro přístup k podrobnostem sdílených titulech. Další informace vám poskytne správce FOLIO.",
"documentTitle.search": "Katalog - {query} - Vyhledat",
"documentTitle.browse": "Katalog - {query} - Procházet",
"permission.instance.set-deletion-and-staff-suppress": "Katalog: Nastavit záznamy pro smazání a potlačení zaměstnancům",
"permission.instance.set-deletion-and-staff-suppress": "Katalog: Nastavit záznamy pro smazání",
"setForDeletion.modal.header": "Opravdu chcete nastavit tento záznam ke smazání?",
"setForDeletion.modal.message": "Zvolili jste nastavení <b>{instanceTitle}</b> ke <b>smazání</b>. Když je záznam nastaven ke smazání, titul bude Potlačen z vyhledávání a zaměstnancům. Pokud je zdrojem titulu MARC, pak bude MARC LDR 05 nastaven na \"d\".",
"setRecordForDeletion": "Nastavit záznam pro smazání",
Expand All @@ -856,11 +856,11 @@
"settings.instanceClassification.termUpdated": "Typ procházení klasifikace <b>{term}</b> byl úspěšně <b>aktualizován</b>",
"settings.instanceClassification.identifierTypesPopover": "Vezměte prosím na vědomí, že pokud nejsou pro volbu procházení vybrány žádné typy identifikátorů klasifikace, tato možnost zobrazí všechny typy identifikátorů klasifikace.",
"permission.settings.classification-browse": "Nastavení (Katalog): Konfigurace procházení klasifikací",
"receivingHistory.displayToPublic": "Public display",
"instances.columns.classificationNumber": "Classification",
"browse.classification": "Classification",
"browse.classification.all": "Classification (all)",
"browse.classification.dewey": "Dewey Decimal classification",
"browse.classification.lc": "Library of Congress classification",
"normalizedClassificationNumber": "Classification, normalized"
"receivingHistory.displayToPublic": "Veřejné vystavení",
"instances.columns.classificationNumber": "Klasifikace",
"browse.classification": "Klasifikace",
"browse.classification.all": "Klasifikace (vše)",
"browse.classification.dewey": "Deweyho desítková klasifikace",
"browse.classification.lc": "Klasifikace Kongresové knihovny",
"normalizedClassificationNumber": "Klasifikace, normalizovaná"
}
4 changes: 2 additions & 2 deletions translations/ui-inventory/da.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Copy number",
"settings.goBack": "Gå tilbage til indstillinger for katalogen",
"item.status.awaitingDelivery": "Awaiting delivery",
"callNumberEyeReadable": "Call number, eye readable",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"callNumberEyeReadable": "Call number, not normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"notAvailable": "N/A",
"findInstancePluginNotFound": "find-instance plugin not found",
"precedingField.title": "Title",
Expand Down
20 changes: 10 additions & 10 deletions translations/ui-inventory/de.json
Expand Up @@ -722,7 +722,7 @@
"search.oclc": "OCLC-Nummer, normalisiert",
"newOrder.modal.create": "Erstellen",
"newOrder.modal.label": "Bestellung erstellen",
"newOrder.modal.message": "Die Auswahl einer bestehenden Bestellung vor klick auf \"Erstellen\" fügt einen neuen Bestellposten für diesen Titel zur ausgewählten Bestellung hinzu. Das leer lassen der Bestellnummer und ein klick auf \"Erstellen\" ermöglicht das Erstellen einer neuen Bestellung und eines neuen Bestellpostens für diesen Titel.",
"newOrder.modal.message": "Die Auswahl einer bestehenden Bestellung vor Klicken auf \"Erstellen\" fügt einen neuen Bestellposten für diesen Titel zur ausgewählten Bestellung hinzu. Das leer lassen der Bestellnummer und ein Klicken auf \"Erstellen\" ermöglicht das Erstellen einer neuen Bestellung und eines neuen Bestellpostens für diesen Titel.",
"newOrder.modal.PONumber": "Bestellnummer",
"newOrder.modal.PONumber.doesNotExist": "Bestellnummer existiert nicht",
"instances.columns.contributor": "Mitwirkende/-r",
Expand Down Expand Up @@ -850,17 +850,17 @@
"shortcut.nextSubfield": "quickMARC only: Move to the next subfield in a text box",
"shortcut.prevSubfield": "quickMARC only: Move to the previous subfield in a text box",
"classificationBrowse": "Classification browse",
"settings.instanceClassification.all": "Classification (all)",
"settings.instanceClassification.all": "Klassifikation (alle)",
"settings.instanceClassification.dewey": "Dewey Decimal classification",
"settings.instanceClassification.lc": "Library of Congress classification",
"settings.instanceClassification.termUpdated": "The Classification browse type <b>{term}</b> was successfully <b>updated</b>",
"settings.instanceClassification.identifierTypesPopover": "Please note that if no classification identifier types are selected for a browse option, this option will display all classification identifier types.",
"permission.settings.classification-browse": "Settings (Inventory): Configure classification browse",
"receivingHistory.displayToPublic": "Public display",
"instances.columns.classificationNumber": "Classification",
"browse.classification": "Classification",
"browse.classification.all": "Classification (all)",
"settings.instanceClassification.termUpdated": "Der Klassifizierungs-Browsetyp <b> {term} </b> wurde erfolgreich <b> aktualisiert </b>",
"settings.instanceClassification.identifierTypesPopover": "Bitte beachten, dass diese Option alle Typen von Klassifikationsidentifikatoren anzeigt, wenn keine Klassifikationsidentifikatoren für eine Browse-Option ausgewählt wurden.",
"permission.settings.classification-browse": "Einstellungen (Katalog): Klassifikations-Browse konfigurieren",
"receivingHistory.displayToPublic": "Öffentliche Anzeige",
"instances.columns.classificationNumber": "Klassifikation",
"browse.classification": "Klassifikation",
"browse.classification.all": "Klassifikation (alle)",
"browse.classification.dewey": "Dewey Decimal classification",
"browse.classification.lc": "Library of Congress classification",
"normalizedClassificationNumber": "Classification, normalized"
"normalizedClassificationNumber": "Klassifikation, normalisiert"
}
4 changes: 2 additions & 2 deletions translations/ui-inventory/en.json
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
4 changes: 2 additions & 2 deletions translations/ui-inventory/en_GB.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Copy number",
"settings.goBack": "Go back to inventory settings",
"item.status.awaitingDelivery": "Awaiting delivery",
"callNumberEyeReadable": "Call number, eye readable",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"callNumberEyeReadable": "Call number, not normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"notAvailable": "N/A",
"findInstancePluginNotFound": "find-instance plugin not found",
"precedingField.title": "Title",
Expand Down
4 changes: 2 additions & 2 deletions translations/ui-inventory/en_SE.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Copy number",
"settings.goBack": "Go back to inventory settings",
"item.status.awaitingDelivery": "Awaiting delivery",
"callNumberEyeReadable": "Call number, eye readable",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"callNumberEyeReadable": "Call number, not normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"notAvailable": "N/A",
"findInstancePluginNotFound": "find-instance plugin not found",
"precedingField.title": "Title",
Expand Down
4 changes: 2 additions & 2 deletions translations/ui-inventory/en_US.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Copy number",
"settings.goBack": "Go back to inventory settings",
"item.status.awaitingDelivery": "Awaiting delivery",
"callNumberEyeReadable": "Call number, eye readable",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"callNumberEyeReadable": "Call number, not normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"notAvailable": "N/A",
"findInstancePluginNotFound": "find-instance plugin not found",
"precedingField.title": "Title",
Expand Down
4 changes: 2 additions & 2 deletions translations/ui-inventory/es_419.json
Expand Up @@ -788,7 +788,7 @@
"item.status.available.lowercase": "disponible",
"item.status.awaitingPickup.lowercase": "en espera de recogida",
"item.status.awaitingDelivery.lowercase": "a la espera de la entrega",
"item.status.checkedOut.lowercase": "comprobado",
"item.status.checkedOut.lowercase": "Prestado",
"item.status.claimedReturned.lowercase": "reclamado devuelto",
"item.status.declaredLost.lowercase": "declarado perdido",
"item.status.inProcess.lowercase": "en curso",
Expand Down Expand Up @@ -862,5 +862,5 @@
"browse.classification.all": "Classification (all)",
"browse.classification.dewey": "Dewey Decimal classification",
"browse.classification.lc": "Library of Congress classification",
"normalizedClassificationNumber": "Classification, normalized"
"normalizedClassificationNumber": "Clasificación, normalizada"
}
4 changes: 2 additions & 2 deletions translations/ui-inventory/fr.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Numéro d'exemplaire",
"settings.goBack": "Retourner aux paramètres de l'inventaire",
"item.status.awaitingDelivery": "En attente de livraison",
"callNumberEyeReadable": "Call number, eye readable",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"callNumberEyeReadable": "Call number, not normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"notAvailable": "N/A",
"findInstancePluginNotFound": "find-instance plugin not found",
"precedingField.title": "Title",
Expand Down
2 changes: 1 addition & 1 deletion translations/ui-inventory/fr_FR.json
Expand Up @@ -768,7 +768,7 @@
"ariaLabel.createJobProfile": "Set {profileIndex} job profile for create as default",
"ariaLabel.updateJobProfile": "Set {profileIndex} job profile for update as default",
"jobProfiles.info": "Review the listed job profiles carefully before assigning for Inventory single record imports. Only MARC Bibliographic job profiles can be assigned, not MARC Holdings or MARC Authority job profiles.",
"copycat.overlaySourceBib": "Overlay source bibliographic record",
"copycat.overlaySourceBib": "Écraser la notice bibliographique source",
"copycat.overlayJobProfileToBeUsed": "Select the profile to be used to overlay the current data",
"effectiveLocationHoldings": "Effective location for holdings",
"info.effectiveCallNumber": "This field contains the item call number, which is either inherited from the holdings record, or is the updated call number on the item record. While browsing call numbers, this field will be searched.",
Expand Down
4 changes: 2 additions & 2 deletions translations/ui-inventory/he.json
Expand Up @@ -465,8 +465,8 @@
"reports.inTransitItem.copyNumber": "Copy number",
"settings.goBack": "Go back to inventory settings",
"item.status.awaitingDelivery": "Awaiting delivery",
"callNumberEyeReadable": "Call number, eye readable",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), eye readable",
"callNumberEyeReadable": "Call number, not normalized",
"itemEffectiveCallNumberEyeReadable": "Effective call number (item), not normalized",
"notAvailable": "N/A",
"findInstancePluginNotFound": "find-instance plugin not found",
"precedingField.title": "Title",
Expand Down

0 comments on commit 81bb170

Please sign in to comment.