Koha Upgrades

Koha 23.05: UserID Generation Now Pluggable

Previous to 23.05, if an alternative patron username (userID) was not provided during the creation of a new patron account in Koha, the userID that was generated would default to firstname.lastname. Thanks to bug 32426, the new plugin hook patron_generate_userid makes it possible for a pattern to be supplied to the application programming interface (API) to determine what a patron’s userID is auto-generated as. For example, a library might want their patron userIDs to default to firstname.state.birthdate.emailaddress, and this hook would provide a route to enable that. At this time, the plugin has not yet been created, but when it is, generating customized patron userIDs will be a snap!


Visit our 23.05 Koha Upgrade Hub to find out more features and enhancements coming soon!

Koha 23.05: Upgrades Hub