From 91556ada9118afddf0f4260b6896360d17cabfc8 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 6 Jul 2026 08:48:32 +0100 Subject: [PATCH] Bug 41898: Load additional-filters.js on the circulation page The rewrite of js/tables/bookings.js in this patchset builds on AdditionalFilters, which is provided by js/additional-filters.js. The patron details page loads that asset but the circulation page did not, so the bookings tab on circ/circulation.pl died with 'AdditionalFilters is not defined' and the table never initialised. Test plan: 1) Check out to a patron with bookings and open the Bookings tab on the checkout page; confirm the table renders and no JS error is logged in the console Sponsored-by: Westminster City Council Signed-off-by: Hannah Dunne-Howrie Signed-off-by: Paul Derscheid Signed-off-by: Pedro Amorim --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 92bad1dd35..1f4ba4f994 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -1184,6 +1184,7 @@ [% END %] [% Asset.js("js/holds.js") | $raw %] [% INCLUDE 'calendar.inc' %] + [% Asset.js("js/additional-filters.js") | $raw %] [% Asset.js("js/cancel_booking_modal.js") | $raw %] [% Asset.js("js/combobox.js") | $raw %] [% INCLUDE 'js-biblio-format.inc' %]