Bugzilla – Attachment 175001 Details for
Bug 38543
dataTables assets included but no longer exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38543: Do not include rowGroup asset files
Bug-38543-Do-not-include-rowGroup-asset-files.patch (text/plain), 3.68 KB, created by
Jonathan Druart
on 2024-11-27 08:59:03 UTC
(
hide
)
Description:
Bug 38543: Do not include rowGroup asset files
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-27 08:59:03 UTC
Size:
3.68 KB
patch
obsolete
>From 25ab364252e370b23542ba19bdf095aa75833875 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 27 Nov 2024 09:55:23 +0100 >Subject: [PATCH] Bug 38543: Do not include rowGroup asset files > >rowGroup plugin is now part of the datatables.min.js bundle. We no >longer need to include its css and js files, and they no longer exist >anyway! > >[2024/11/27 08:52:37] [WARN] File not found : lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css at /kohadevbox/koha/Koha/Template/Plugin/Asset.pm line 107 >[2024/11/27 08:52:37] [WARN] File not found : lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js at /kohadevbox/koha/Koha/Template/Plugin/Asset.pm line 84. > >Test plan: >Confirm that the checkouts are grouped "today" and "previous" on the >checkout page. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 -- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 -- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 2 -- > 3 files changed, 6 deletions(-) > >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 9f4ebea64d7..da34a346693 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -12,7 +12,6 @@ > [% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %] > [% SET destination = "circ" %] > <title>[% FILTER collapse %] > [% IF patron %] >@@ -1004,7 +1003,6 @@ > [% INCLUDE 'datatables.inc' %] > [% INCLUDE 'columns_settings.inc' %] > [% INCLUDE 'select2.inc' %] >- [% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %] > [% PROCESS 'modal-claims.inc' %] > [% PROCESS 'modal-claims-js' %] > [% INCLUDE 'js-date-format.inc' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index b7f7eb4e6ec..a12b9e3a504 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -13,7 +13,6 @@ > [% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %] > <title>[% FILTER collapse %] > [% UNLESS blocking_error %] > [% t("Patron details for") | html %] [% INCLUDE 'patron-title.inc' no_html = 1 %] >@@ -740,7 +739,6 @@ > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'datatables.inc' %] >- [% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %] > [% INCLUDE 'columns_settings.inc' %] > [% INCLUDE 'select2.inc' %] > [% PROCESS 'modal-claims-js' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >index a9a3cf10d0f..1824a3efcb4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >@@ -13,7 +13,6 @@ > [% t("Koha") | html %] > [% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] >-[% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %] > </head> > > <body id="register" class="pos"> >@@ -350,7 +349,6 @@ > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'datatables.inc' %] >- [% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %] > [% INCLUDE 'format_price.inc' %] > [% INCLUDE 'js-date-format.inc' %] > [% Asset.js("js/cashup_modal.js") | $raw %] >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38543
:
175001
|
175012
|
175048