From 3ed26e89503ee3d48347c0e2fbcc7465593b8f27 Mon Sep 17 00:00:00 2001 From: Andrii Nugged Date: Tue, 16 Jun 2026 04:49:18 +0300 Subject: [PATCH] Bug 42850: Install generated ILL requests CSS The ILL requests page loads css/ill-requests.css from the staff template. The stylesheet is generated by build-resources.PL and ignored by git, but Makefile.PL does not list it in the generated asset map. As a result package installs do not copy the generated stylesheet into blib, so Asset.css cannot find it and no link tag is emitted. Add ill-requests.css to the generated staff CSS file map so it is installed with the other generated staff stylesheets. Test plan: 1. perl -c Makefile.PL 2. prove -v t/Makefile.t 3. Confirm that /cgi-bin/koha/ill/ill-requests.pl includes a link tag for css/ill-requests.css on a package/source-style install. Signed-off-by: David Cook Signed-off-by: Jonathan Druart Signed-off-by: Lucas Gass --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index 6e849fe991..6f35f3d108 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -677,6 +677,7 @@ get_file_map( $target_map, $dirtree, $file_map ); #INTRANET_TMPL_DIR $file_map->{'koha-tmpl/intranet-tmpl/prog/css/calendar.css'} = 'blib/INTRANET_TMPL_DIR/prog/css/calendar.css'; $file_map->{'koha-tmpl/intranet-tmpl/prog/css/holds.css'} = 'blib/INTRANET_TMPL_DIR/prog/css/holds.css'; +$file_map->{'koha-tmpl/intranet-tmpl/prog/css/ill-requests.css'} = 'blib/INTRANET_TMPL_DIR/prog/css/ill-requests.css'; $file_map->{'koha-tmpl/intranet-tmpl/prog/css/installer.css'} = 'blib/INTRANET_TMPL_DIR/prog/css/installer.css'; $file_map->{'koha-tmpl/intranet-tmpl/prog/css/mainpage.css'} = 'blib/INTRANET_TMPL_DIR/prog/css/mainpage.css'; $file_map->{'koha-tmpl/intranet-tmpl/prog/css/staff-global.css'} = 'blib/INTRANET_TMPL_DIR/prog/css/staff-global.css';