Suppress /circulation/search-slips/… call if "Print search slips" is disabled

Description

Given that https://folio-snapshot.dev.folio.org/settings/circulation/print-hold-requests has “Allow print hold requests (Open - Not yet filled)” disabled

When the user opens the Requests app https://folio-snapshot.dev.folio.org/requests

Then no call to /circulation/search-slips/… should be made.

Actal: A request to https://folio-snapshot-okapi.dev.folio.org/circulation/search-slips/c4c90014-c8c9-4ade-8f24-b5e313319f4b is sent, resulting in useless load on the backend module and the database, and adding latency to the front-end. If there are 268555 missing item that request takes 132 seconds. And that request blocks the mod-circulation module for other requests so that other tasks like check-in or check-out take two minutes or time out.

Affected releases: Quesnelia CSP 8 and 9, Ramsons GA, Sunflower Snapshot.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1

Checklist

hide

Activity

Show:

Anja.Kakau February 5, 2025 at 8:04 AM

Hi , this is related to .
We have many libraries with a large number of items with item status = missing (because this status is linked to a respective status in the union catalog), and in that case the automatic gerneration of the search slips cuases severe performance issues.

Anne Ekblad February 3, 2025 at 6:37 PM

Hi, . This is not a bug, as this was known behavior when developing Search slips functionality. Can you help me understand the impact the behavior is having on you and / or others? And also, can you specify which version of mod-circ you are using?

Won't Do

Details

Assignee

Reporter

Priority

Development Team

Vega

RCA Group

TBD

Affected Institution

GBV

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created January 28, 2025 at 5:48 PM
Updated February 24, 2025 at 10:51 AM
Resolved February 3, 2025 at 6:37 PM
TestRail: Cases
TestRail: Runs