-
Notifications
You must be signed in to change notification settings - Fork 18
UIIN-3540: Add additionalCallNumber to versionHistory for holdings #2954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIIN-3540: Add additionalCallNumber to versionHistory for holdings #2954
Conversation
zburke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider whether you want this to be implemented as a breaking change.
| isInitialLoading={isLoading} | ||
| fieldLabelsMap={fieldLabelsMap} | ||
| fieldFormatter={fieldFormatter} | ||
| itemFormatter={itemFormatter} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
itemFormatter was added to AuditLogPane in folio-org/stripes-components#2519 and will be available in the next version of @folio/stripes, likely 10.1.0. Since many breaking changes have already been added the next release of ui-inventory, consider bumping the deps on @folio/stripes in package.json to ^10.1.0.
Technically, passing new props to an existing function is backwards compatible; in an older version they'll be ignored but won't cause an error. Ultimately, up to you.
…ionHistory-for-holdings
…p version of folio/stripes to 10.1.0
…ionHistory-for-holdings
|


Purpose
Adding
additionalCallNumbersto the inventorys' holdings history as requested here:https://folio-org.atlassian.net/browse/UIIN-3559
https://folio-org.atlassian.net/browse/UIIN-3540
Instead of showing just the values of sub-fields as unnamed lists, we like to show the field name together with the sub-field value.
Adding sub-fields to
fieldLabelsMapfor these objects:additionalCallNumbersholdingsStatementsholdingsStatementsForSupplementsholdingsStatementsForIndexesnoteselectronicAccessentriesApproach
We define and pass a itemFormatter to the
AuditLogModalwhich allows us to display object properties as name-value pairs.Refs
folio-org/stripes-components#2519
folio-org/mod-audit#229
PR for inventory Items:
#2953
Screenshots
with itemFormatter (add fieldnames)
BEFORE or DEFAULT: without itemFormatter (no fieldnames)