Bugzilla – Attachment 191103 Details for
Bug 41566
Tidy kohaTable block - catalogue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41566: Tidy kohaTable - catalogue/issuehistory
ada6d06.patch (text/plain), 1.61 KB, created by
Jonathan Druart
on 2026-01-09 14:46:06 UTC
(
hide
)
Description:
Bug 41566: Tidy kohaTable - catalogue/issuehistory
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:46:06 UTC
Size:
1.61 KB
patch
obsolete
>From ada6d06be0b9ad3c28b5136558fdbb0a2ce4cdbf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 11:43:29 +0100 >Subject: [PATCH] Bug 41566: Tidy kohaTable - catalogue/issuehistory > >--- > .../prog/en/modules/catalogue/issuehistory.tt | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >index 780342c4fff..efa29b5d64d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt >@@ -127,13 +127,16 @@ > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'checkoutshistory-table', 'json') | $raw %]; >+ [% UNLESS show_patron_column %] >+ // Remove the patron column definition >+ table_settings['columns'].splice(0,1); >+ [% END %] >+ </script> >+ > <script> > $(document).ready(function() { >- var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'checkoutshistory-table', 'json') | $raw %]; >- [% UNLESS show_patron_column %] >- // Remove the patron column definition >- table_settings['columns'].splice(0,1); >- [% END %] > var table = $("#table_issues").kohaTable( > { > dom: 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>', >-- >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 41566
: 191103 |
191104
|
191105
|
191106