What’s on our mind: Giving overdues reports in Koha a boost

Last updated on: 6th May 2026| 6th May 2026 | Matt Blenkinsop | Koha

For Koha systems with large numbers of overdues, the ‘Overdues’ and ‘Overdues with fines’ reports could be painfully slow to load. Following multiple reports of this, bug 41903 was opened to try and convert these reports to using a server-side paginated approach, rather than loading all overdues at once and then handling the table pagination in the UI.

Firstly, we needed to test out just how resource intensive this report could be to ensure that a substantial performance improvement was being achieved once the new implementation was ready. Using a data insertion script, 4000 overdues were added into a test Koha environment and tests were run to work out how long the page was taking to achieve its largest contentful paint. A largest contentful paint refers to how long the page takes to display the largest image, text block or video visible within the viewport – in this case that is the table containing the overdues. With 4000 overdues in the system, the overdues report was taking nearly 20 seconds to achieve LCP!

Koha – Overdue report LCP value before improvements

 

The request in bug 41903 was to convert the report pages to use Vue.Js with a paginated Datatable that would handle all of the pagination and data wrangling on the server. (For more information on Vue.JS, see our previous WOOM). Open Fifth have been handling the development of this and the current prototype is showing vast improvements, with time to LCP now averaging between 2 – 3 seconds!

Koha – Overdue report LCP value after improvements

 

This represents a substantial improvement in performance and for those institutions who found this report to be cumbersome and slow, we hope this will make life much easier. Keep an eye out for the patches being uploaded to the bug in the coming weeks, anyone who wants to help with testing it out is welcome!

 

 

Blog post featured image: Cyathea dealbata by Krzysztof Ziarnek, Kenraiz published under the Creative Commons Attribution-Share Alike 4.0 International license.

(Source: Wikimedia Commons)

Previous

What’s on our shelves: Medieval England, Old Town Rhodes, and the American breakfast table…

Next

In your upgrade to Aspen 26.04

In your Aspen upgrade this quarter...