Story: Dewey Classification - Use new API contract

Description

Purpose: The purpose of this story is to update frontend to use the new API contract (created by MODLD-308) for the transfer of Dewey classification data between the backend and frontend systems.

New API contract:

The updated contract supports more properties of the Dewey classification object

  1. http://bibfra.me/vocab/marc/source   (value will be “ddc” for Dewey classification)

  2. http://bibfra.me/vocab/marc/code 

  3. http://bibfra.me/vocab/marc/itemNumber 

  4. http://bibfra.me/vocab/marc/editionNumber

  5. http://bibfra.me/vocab/marc/edition  (Corresponds to ‘Dewey full or abridged?’)

ind1 == 0 -> Hardcode Full
ind1 == 1 -> Hardcode Abridged

  1. _assigningSourceRef

Acceptance Criteria:

  1. Work Edit screen

Under the classification component of the Work entity, the cataloger can

  • select “Dewey Decimal Classification” for Type

  • input a value for Classification number

  • input / display value for Dewey edition number (Corresponds to MARC 082 $2)

  • input / display value for Dewey full or abridged? (Based on ind1 value)

  • input /display value for Assigner (Corresponds to label for 082 $q, if present)

  1. Work Edit screen: Upon editing and saving a work resource, the information input or selected for the Dewey classification must be retained without any loss of data.

  2. MARC preview: Additions / changes made in the Dewey classification component of the Work entity are displayed correctly in the MARC derived record

Environment

None

Potential Workaround

None

Attachments

2
  • 17 Jun 2024, 09:17 AM
  • 17 Jun 2024, 09:17 AM

Checklist

hide

Activity

Show:

Yury Barsukou June 17, 2024 at 9:17 AM

tested on 290 build, ok for me. Evidences and cases attached

Tetiana Kovalchuk June 14, 2024 at 8:05 AM

, , can the story description be updated according to comments? Thanks.

Tetiana Kovalchuk June 14, 2024 at 8:04 AM

, I’m not talking about MARC preview, this is about Work read-only fields which are shown in Work section when user is on Instance edit form.

Doug Loynes June 13, 2024 at 3:30 PM

- “[I]s Work creation and Work preview (from Instance Edit screen) in the scope of this story?”

Yes - we are now going to (regularly) include MARC preview as use cases / test cases in front end cards.

Doug Loynes June 13, 2024 at 3:17 PM

Cloned this card to create https://folio-org.atlassian.net/browse/UILD-325 for adding drop down menu for Dewey edition.

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Citation

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 7, 2024 at 12:06 PM
Updated March 4, 2025 at 7:23 PM
Resolved June 17, 2024 at 3:58 PM
TestRail: Cases
TestRail: Runs

Flag notifications