Browse: instance classification number | Endpoint implementation

Description

Purpose/Overview:
Ability to browse by Instance classification number

Requirements/Scope:

  1. Create new endpoint for classsification browse: GET /browse/classifications/instances

  2. Should support filtering by classification type

    1. If classification type filter is missed then do browse by classificationNumber

    2. If classification type filter is exist then do browse by classificationShelvingOrder

Approach:

  1. Combine search_after queries sorted by classificationNumber/classificationShelvingOrder around the anchor record

  2. Use consortiumSearchHelper for consortium filtering and counts. See contributors/subjects browse service for reference.

Acceptance criteria:

  • Covered by unit tests

  • Module documentation updated

  • Logging is well-defined

Environment

None

Potential Workaround

None

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Attachments

3
  • 06 Mar 2024, 04:35 PM
  • 06 Mar 2024, 04:35 PM
  • 06 Mar 2024, 04:35 PM

Checklist

hide

TestRail: Results

Activity

Show:

Polina UstimenkoMarch 6, 2024 at 4:36 PM

Verified via API on https://folio-snapshot.dev.folio.org

Works as expected, please check the attached screenshots.

could you please review? Thank you!

Christine Schultz-RichertFebruary 8, 2024 at 3:16 PM

Hey - here are some examples:

Library of Congress:

  • BJ1453 .I49 1983

  • HD1691 .I5 1967

  • HQ536 .A565 2018

  • N6679.R64 G88 2010

  • QD33 .O87

  • QD453 .M8 1961

  • SF433 .D47 2004

  • SF991 .M94

  • TN800 .F4613

  • TX545 .M45

Dewey:

  • 146.4

  • 221.609

  • 292.07

  • 333.91

  • 372.4

  • 636.7

  • 641.1

  • 811.54

  • 863.64

  • 914.56

Viacheslav KolesnykFebruary 7, 2024 at 10:24 AM

Could you provide some example classification numbers for different types, please?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Quesnelia (R1 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 30, 2024 at 2:01 PM
Updated March 25, 2024 at 4:25 PM
Resolved March 6, 2024 at 5:34 PM
TestRail: Cases
TestRail: Runs

Flag notifications