Bug 40394 - Coce cover images should be requested in chunks
Summary: Coce cover images should be requested in chunks
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-15 14:33 UTC by Tomás Cohen Arazi (tcohen)
Modified: 2025-07-15 14:34 UTC (History)
4 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi (tcohen) 2025-07-15 14:33:43 UTC
If you choose to display 100 results per page when searching the catalog, the current Coce client implementation will pick all the identifiers, and make an API call to Coce for the 100 ids.

This is problematic because:

* It can be overwhelming for the Coce server (it will make a thread/worker busy for too long even when another is idle).
* It makes the rendering slow or unreliable.

We should at least split the ids list into chunks of some fixed (limited) size.