From bugzilla-daemon@bugs.koha-community.org Wed May 6 00:09:38 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 42534] New: wrapper-staff-tool-plugin.inc interferes with js and includes in template files Date: Tue, 05 May 2026 22:09:37 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7045154238703612591==" --===============7045154238703612591== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D42534 Bug ID: 42534 Summary: wrapper-staff-tool-plugin.inc interferes with js and includes in template files Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: lisette@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Wrapper changes in Bug 42163 to support the vue changes made in Bug 41367 mea= ns you can't use a separate [% MACRO jsincludes BLOCK %] in plugins.=20 Additionally if you're using any includes (such as datatables.inc) they no longer load because the wrapper [% MACRO jsincludes BLOCK %] overrides any inline [% MACRO jsincludes BLOCK %] You can use [% INCLUDE datatables.inc %] outside the wrapper, but most exampl= es have it inside and I fear plugins using the wrapper will break on an update to 26.05. You can also put your