Skip to content

Commit

Permalink
MODINVSTOR-1170. Extend inventory hierarchy response with new display…
Browse files Browse the repository at this point in the history
…Summary field (#985)
  • Loading branch information
SerhiiNosko authored Feb 23, 2024
1 parent d24d9a3 commit af04ce1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

### New APIs versions
* Provides `item-storage v10.1`
* Provides `inventory-hierarchy 0.4`
* Provides `inventory-hierarchy 0.5`

### Features
* Provide inventory hierarchy response with new displaySummary field ([MODINVSTOR-1170](https://folio-org.atlassian.net/browse/MODINVSTOR-1170))
* Add location properties and material type id to inventory-hierarchy items-and-holdings response ([MODINVSTOR-1133](https://issues.folio.org/browse/MODINVSTOR-1133))
* Add new field "Display summary" for the item schema ([MODINVSTOR-1154](https://issues.folio.org/browse/MODINVSTOR-1154))
* Add new Identifier type Cancelled LCCN ([MODINVSTOR-1156](https://folio-org.atlassian.net/browse/MODINVSTOR-1156))
Expand Down
2 changes: 1 addition & 1 deletion descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@
},
{
"id": "inventory-hierarchy",
"version": "0.4",
"version": "0.5",
"handlers": [
{
"methods": ["GET"],
Expand Down
1 change: 1 addition & 0 deletions ramls/examples/inventory-items-and-holdings.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"volume": "volume",
"enumeration": "enumeration",
"chronology": "chronology",
"displaySummary": "displaySummary",
"yearCaption": [
"Year, caption"
],
Expand Down
4 changes: 4 additions & 0 deletions ramls/inventory-hierarchy/inventory-instance-records.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,10 @@
"description": "Descriptive information for the dating scheme of a serial",
"type": "string"
},
"displaySummary": {
"description": "Display summary about the item",
"type": "string"
},
"yearCaption": {
"description": "Character(s) used to label a level of chronology, e.g., year 1985",
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ WITH
'volume', item.jsonb ->> 'volume',
'enumeration', item.jsonb ->> 'enumeration',
'chronology', item.jsonb ->>'chronology',
'displaySummary', item.jsonb ->>'displaySummary',
'yearCaption', item.jsonb -> 'yearCaption',
'itemIdentifier', item.jsonb ->> 'itemIdentifier',
'numberOfPieces', item.jsonb ->> 'numberOfPieces',
Expand Down

0 comments on commit af04ce1

Please sign in to comment.