Bugzilla – Attachment 191415 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
Bug-41576-Tidy-kohaTable---reportsitemslosttt.patch (text/plain), 1.90 KB, created by
Owen Leonard
on 2026-01-14 14:28:09 UTC
(
hide
)
Description:
Bug 41576: Tidy kohaTable - reports/itemslost.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-14 14:28:09 UTC
Size:
1.90 KB
patch
obsolete
>From 0413447094795027a48c81508f452694009157ca 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.39.5
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
|
191414
| 191415 |
191416
|
191417