Bugzilla – Attachment 191093 Details for
Bug 41564
Tidy kohaTable block - admin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41564: Tidy kohaTable - admin/itemtypes.tt
832367e.patch (text/plain), 1.81 KB, created by
Jonathan Druart
on 2026-01-09 14:45:05 UTC
(
hide
)
Description:
Bug 41564: Tidy kohaTable - admin/itemtypes.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:45:05 UTC
Size:
1.81 KB
patch
obsolete
>From 832367ea02a9f11613c6358d0bcf11b633ff4007 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 11:02:34 +0100 >Subject: [PATCH] Bug 41564: Tidy kohaTable - admin/itemtypes.tt > >--- > .../intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >index 53e0757b5dc..3906a51c050 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >@@ -555,12 +555,13 @@ > [% INCLUDE 'datatables.inc' %] > [% INCLUDE 'select2.inc' %] > <script> >- $(document).ready(function() { >- var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'itemtypes', 'table_item_type', 'json' ) | $raw %]; >- [% IF ( Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') ) %] >- table_settings['columns'].shift(); // Remove item type image column from configuration >- [% END %] >+ var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'itemtypes', 'table_item_type', 'json' ) | $raw %]; >+ [% IF ( Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') ) %] >+ table_settings['columns'].shift(); // Remove item type image column from configuration >+ [% END %] >+ </script> > >+ <script> > $(document).ready(function() { > $("#table_item_type").kohaTable( > { >@@ -568,7 +569,6 @@ > }, > table_settings > ); >- }); > > $( "#itemtypeentry" ).validate({ > rules: { >-- >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 41564
:
191082
|
191083
|
191084
|
191085
|
191086
|
191087
|
191088
|
191089
|
191090
|
191091
|
191092
|
191093
|
191094
|
191095
|
191096
|
191097
|
191098
|
191099
|
191100
|
191310
|
191311
|
191312
|
191313
|
191314
|
191315
|
191316
|
191317
|
191318
|
191319
|
191320
|
191321
|
191322
|
191323
|
191324
|
191325
|
191326
|
191327
|
191328
|
191329