From f8e20489134d5b865b931c0db481dbbcb0382cf1 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Mon, 28 Oct 2024 12:03:26 +0200 Subject: [PATCH] Bug 38257: Do not use js_includes.inc in two different files Downloading cart didn't work because js_includes.inc file was included both in basket.tt and intranet-bottom.inc. This patch removes related codeline from basket.tt. To test: 1. Search for items and add one or more search results to your cart. 2. Open cart. 3. Attempt to download items from your cart. => Either nothing happens. 4. Apply this patch, restart services if needed. 5. Again attempt to download. => Download menu should now work as expected. Sponsored-by: Koha-Suomi Oy Signed-off-by: Sam Sowanick Signed-off-by: Aleisha Amohia Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt | 1 - 1 file changed, 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt index ac25ebad17..4e935c8ea2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -356,7 +356,6 @@ [% # /.main.container-fluid %] [% INCLUDE 'intranet-bottom.inc' popup_window=1 %] - [% INCLUDE js_includes.inc %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/cart.js") | $raw %] -- 2.39.5