Bugzilla – Attachment 191150 Details for
Bug 41576
Tidy kohaTable block - reports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41576: Tidy kohaTable - reports/itemslost.tt
d493262.patch (text/plain), 1.91 KB, created by
Jonathan Druart
on 2026-01-09 14:51:46 UTC
(
hide
)
Description:
Bug 41576: Tidy kohaTable - reports/itemslost.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:51:46 UTC
Size:
1.91 KB
patch
obsolete
>From d493262017eecf3811addb14b53a682d975d7f27 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 14:32:30 +0100 >Subject: [PATCH] Bug 41576: Tidy kohaTable - reports/itemslost.tt > >--- > .../prog/en/modules/reports/itemslost.tt | 16 +++++++++------- > 1 file changed, 9 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >index 8f87e2161bf..8fe3ff8e198 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >@@ -194,14 +194,16 @@ > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'datatables.inc' %] > <script> >- $(document).ready(function() { >- var table_settings = [% TablesSettings.GetTableSettings( 'reports', 'lostitems', 'lostitems-table', 'json' ) | $raw %]; >- [% IF csv_profiles.count %] >- // Add the first (checkbox) column if it is displayed >- // FIXME This cannot work without bKohaColumnsUseNames >- table_settings['columns'].unshift({cannot_be_modified: 1, cannot_be_toggled: 1, columnname: 'itemnumber', is_hidden: 0}); >- [% END %] >+ var table_settings = [% TablesSettings.GetTableSettings( 'reports', 'lostitems', 'lostitems-table', 'json' ) | $raw %]; >+ [% IF csv_profiles.count %] >+ // Add the first (checkbox) column if it is displayed >+ // FIXME This cannot work without bKohaColumnsUseNames >+ table_settings['columns'].unshift({cannot_be_modified: 1, cannot_be_toggled: 1, columnname: 'itemnumber', is_hidden: 0}); >+ [% END %] >+ </script> > >+ <script> >+ $(document).ready(function() { > var lostitems_table = $("#lostitems-table").kohaTable( > { > order: [], >-- >2.43.0 >
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 41576
:
191149
| 191150 |
191151
|
191152