02 Oct 2024
Koha is the first free and open source software library automation package (ILS). Development is sponsored by libraries of varying types and sizes, volunteers, and support companies from around the world. The website for the Koha project is:
Koha 24.05.04 can be downloaded from:
Installation instructions can be found at:
Koha 24.05.04 is a bugfix/maintenance release.
It includes 7 security fixes and 92 bugfixes.
System requirements
You can learn about the system components (like OS and database) needed for running Koha on the community wiki.
37654 XSS in Batch record import for the Citation column
37656 XSS in Advanced editor for Z39.50 search results
This fixes the EDIFACT messages table in acquisitions so that the details column is now sortable (Acquisitions > EDIFACT messages (when the EDIFACT system preference is enabled).
This fixes the About Koha > Server information page so that it now shows information about Elasticsearch. Before this, it was empty.
36362 Only call Koha::Libraries->search() if necessary in Item::pickup_locations
Sponsored by Gothenburg University Library
This updates the misc/cronjobs/update_totalissues.pl script so that records are only modified if the number of issues changes. Previously, every record was modified - even if the number of issues did not change.
In addition, with CataloguingLog enabled, this previously added one entry to the log viewer for every record - as all the records were modified even if the number of issues did not change. Now, only records where the number of issues have changed are included in the log viewer, significantly reducing the number of entries.
37399 Item type not displayed on holdings table if noItemTypeImages is disabled
This fixes the staff interface holdings table for a record so that the 'Item type' column is displayed when the "noItemTypeImages" system preference is set to 'Don't show'.
Sponsored by Koha-Suomi Oy
37591 Moredetail.tt page is opening very slowly
This improves the loading time of a record's items page in the staff item when there are many items and check-outs.
Sponsored by Koha-Suomi Oy
32696 Recalls can inadvertently extend the due date
Sponsored by Ignatianum University in Cracow
This fixes updating existing item level holds for an item without a barcode. When updating an existing item level hold from "Only item No barcode" (Holds for a record > Existing holds > Details column) to "Next available", it would incorrectly change any other item level holds to "Next available".
37543 connexion_import_daemon.pl stopped working in 24.05 due to API changes related to CSRF-Token
Sponsored by Reformational Study Centre
This fixes editing existing reserves for a course (when using course reserves). Editing a reserve was opening the add reserve form, instead of letting you edit the existing reserve. (This is related to the CSRF changes added in Koha 24.05 to improve form security.)
This fixes adding a patron to a routing list after receiving a serial - the patron was not being added to the routing list. This issue was only happing where MySQL 8.0.2 or later was used as the database for Koha. This was because the SQL syntax in the SQL used RANK, which become a reserved word in MySQL 8.0.2.
This fixes the editing form for eUsage data providers (ERM > eUsage > Data providers): - It delays the page display until the information from the counter registry is received. Previously, the data provider name was empty until the data from the registry was received. - It removes the 'Create manually' button when editing a data provider that was created from the registry.
37254 Dropdown values not cleared after pressing clear in circulation rules
Sponsored by Koha-Suomi Oy
This fixes the cause of an error (SQL::Abstract::puke():...) that can occur on the holds to pull list (Circulation > Holds > Holds to pull).
This fixes a severe performance issue with a REST API SQL query for patron and interlibrary loan request custom attributes. It fixes the problematic join queries using a "mixin" and adds tests. The previous queries could in some circumstance severally affect the database performance.
This fixes a 500 error that occurs when attempting to print a label for an item in the staff interface (from the record details page > Edit > Edit items > Actions > Print label (for a specific item). The label batch editor now opens (as expected).
This fixes an error that occurs when patron's attempt to renew items from their OPAC account (Your account > Summary). The error was related to the CSRF changes to improve the security for forms added Koha 24.05.
This fixes various ESLint errors in enhanced content JavaScript files: - Consistent indentation - Remove variables which are declared but not used - Add missing semicolons - Add missing "var" declarations
37523 CSRF error when modifying an existing patron record
Sponsored by Athens County Public Libraries
This fixes searching for a report in Mana when creating a new report. Searching Mana was generating an error message "Your search could not be completed. Please try again later. 403 Forbidden". (This is related to the CSRF changes added in Koha 24.05 to improve form security.)
37763 'Update and run SQL' appends the editor screen after the report results
Sponsored by Westlake Porter Public Library
This removes a warning message[1] that appears in the reindexing output when using Elasticsearch. The warning was generated if there was no value in 880$6 (880 = Alternate Graphic Representation, $6 = Linkage), but there were other 880 subfields with a value, for example 880$a.
[1] Use of uninitialized value $sub6 in pattern match (m//) at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 619.
37873 Unable to delete user from routing list or preview/print routing list slip
Fixes a regression that prevented recipients from being deleted from a routing list, as well as resolving issues with previewing routing lists.
Sponsored by Westlake Porter Public Library
This fixes the 'Generate next' button when receiving serials so that it now works as expected. Before this fix, nothing happened when clicking the button. (This is related to the CSRF changes added in Koha 24.05 to improve form security.)
This fixes deleting vendors in acquisitions. There is now a new confirmation pop-up dialogue box.
36129 Check in "Hide all columns" doesn't persist on item batch modification/deletion
This fixes the item batch modification/deletion tool, so that if the "Hide all columns" checkbox is selected and then the page is reloaded, the checkbox is still shown as selected. Before this, the columns remained hidden as expected, but the checkbox wasn't selected.
Sponsored by Koha-Suomi Oy
36276 Cannot edit identity provider after creation
This fixes the identity provider and domain forms so that the information is now editable (Administration > Additional parameters > Identity providers).
Sponsored by Athens County Public Libraries
This fixes the OIA set mappings form so that you can't enter more characters than the maximum length for the input fields (Field (3), Subfield (1), and Value (80)). Previously, you could enter more characters - however, when you saved the form it generated an error.
This fixes the "Batch description" label when editing a patron card batch (Tools > Patrons and circulation > Patron card creator > Manage > Card batches > Edit). When you click on the batch description label, the input field is now selected and you can enter the batch description. Before this, you had to click in the field to add the description.
This fixes the tests in xt/api.t. It was skipping tests if swagger-cli was missing, which meant that some tests weren't being run when they should be. The tests now fail if swagger-cli isn't found.
It also adds swagger-cli 4.0.4+ to the devDependancies section of package.json.
37623 t/db_dependent/Letters.t tests fails to consider EmailFieldPrimary system preference
Sponsored by Pymble Ladies' College
37612 Batch modifying patrons from patron lists broken by CSRF protection
This fixes batch editing patrons from a patron list (Tools > Patrons and circulation > Patron lists > Actions > Batch edit patrons). When attempting to batch edit patrons, it didn't load the page to batch edit the patrons, and displayed the message "No patron card numbers or borrowernumbers given." (This is related to the CSRF changes added in Koha 24.05 to improve form security.)
Sponsored by Chetco Community Public Library
This fixes printing patron cards from a patron list (Tools > Patrons and circulation > Patron lists > Actions > Print patron cards > Export). When clicking on Export, the progress icon keeps spinning and doesn't finish - resulting in no PDF file to download. (This is related to the CSRF changes added in Koha 24.05 to improve form security.)
The Koha manual is maintained in Sphinx. The home page for Koha documentation is
Koha Documentation As of the date of these release notes, the Koha manual is available in the following languages:
Chinese (Traditional) (78%)
The Git repository for the Koha manual can be found at
Complete or near-complete translations of the OPAC and staff interface are available in this release for the following languages:
Partial translations are available for various other languages.
The Koha team welcomes additional translations; please see
For information about translating Koha, and join the koha-translate list to volunteer:
The most up-to-date translations can be found at:
The release team for Koha 24.05.04 is
Release Manager: Katrin Fischer
Release Manager assistants:
QA Manager: Martin Renvoize
QA Team:
Topic Experts:
Bug Wranglers:
Packaging Managers:
Documentation Manager: Philip Orr
Documentation Team:
Wiki curators:
Release Maintainers:
We thank the following libraries, companies, and other institutions who are known to have sponsored new features in Koha 24.05.04
We thank the following individuals who contributed patches to Koha 24.05.04
We thank the following libraries, companies, and other institutions who contributed patches to Koha 24.05.04
We also especially thank the following individuals who tested patches for Koha
We regret any omissions. If a contributor has been inadvertently missed, please send a patch against these release notes to koha-devel@lists.koha-community.org.
The Koha project uses Git for version control. The current development version of Koha can be retrieved by checking out the main branch of:
The branch for this version of Koha and future bugfixes in this release line is 24.05.x-security.
Bug reports and feature requests can be filed at the Koha bug tracker at:
He rau ringa e oti ai. (Many hands finish the work)
Autogenerated release notes updated last on 02 Oct 2024 14:43:13.