Bug 40394

Summary: Coce cover images should be requested in chunks
Product: Koha Reporter: Tomás Cohen Arazi (tcohen) <tomascohen>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: f.demians, lucas, oleonard, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

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.