[Koha] Request for support: Patron autocomplete hangs in Circulation

Jonathan Druart jonathan.druart at bugs.koha-community.org
Fri Mar 6 23:26:57 NZDT 2026


This change may work as a temporary measure, but I don't recommend
changing files in production. I have not fully tested the change.

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc
b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc
index d968eb82864..499bc3d1641 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc
@@ -25,6 +25,7 @@
 [% Asset.js("lib/bootstrap/bootstrap.bundle.min.js") | $raw %]
 [% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %]
 <!-- koha core js -->
+[% INCLUDE 'js-patron-format.inc' %]
 [% Asset.js("js/staff-global.js") | $raw %]
 [% Asset.js("js/form-submit.js",{'type' => 'module'}) | $raw %]
 [% INCLUDE 'js-date-format.inc' %]

Le ven. 6 mars 2026 à 10:39, LibraryITSolutions
<info at libraryitsolutions.com> a écrit :
>
> Thanks for reporting this bug.
>
>
> Is there any workaround in the meantime? Can I repair it in the Koha program files?
>
>
> Am 06.03.2026 um 10:26 schrieb Jonathan Druart <jonathan.druart at bugs.koha-community.org>:
>
> Reported on
> Bug 40995 - Patron search autocomplete adds extraneous spacing and
> punctuation when patron lacks surname
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40995
>
> Le ven. 6 mars 2026 à 10:18, Jonathan Druart
> <jonathan.druart at bugs.koha-community.org> a écrit :
>
>
> Yes, it's broken in v25.05.08-2
> There is an error in the browser's console: Uncaught ReferenceError:
> $patron_to_html is not defined
>
> Le ven. 6 mars 2026 à 09:51, LibraryITSolutions
> <info at libraryitsolutions.com> a écrit :
>
>
> Hello Jonathan,
>
> Thank you for your message. There is no error message; only the loading spinner keeps running.
>
> The issue appears only here: cgi-bin/koha/circ/circulation-home.pl
>
> Here, everything works correctly: cgi-bin/koha/members/members-home.pl
>
>
> Best regards,
> Eugen Bastron
>
> Am 06.03.2026 um 09:37 schrieb Jonathan Druart <jonathan.druart at bugs.koha-community.org>:
>
> Hello,
>
> Open the browser's console to catch eventual errors. If the route
> returns a 500 you will have to look at the server's log files.
>
> Regards,
> Jonathan
>
> Le ven. 6 mars 2026 à 08:12, LibraryITSolutions
> <info at libraryitsolutions.com> a écrit :
>
>
> Dear Koha Community,
>
>
>
> we are currently facing an issue in Koha where the patron autocomplete in the Circulation module appears to hang indefinitely. The loading spinner keeps running, and no search result is returned.
>
>
>
> This seems to affect the patron lookup field on the circulation home page. We are currently checking whether it may be related to recent version changes or to our local configuration, but we would appreciate your guidance in case this issue is already known or if there are recommended troubleshooting steps.
>
>
>
> Any hints on where to look first would be greatly appreciated.
>
> Koha: 25.05.08
>
> Best regards,
>
> Eugen Bastron
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
>
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
>


More information about the Koha mailing list