Bugzilla – Attachment 191583 Details for
Bug 41578
Tidy kohaTable block - serials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41578: Tidy kohaTable - serials/claims.tt
Bug-41578-Tidy-kohaTable---serialsclaimstt.patch (text/plain), 1.90 KB, created by
Owen Leonard
on 2026-01-16 18:22:23 UTC
(
hide
)
Description:
Bug 41578: Tidy kohaTable - serials/claims.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-16 18:22:23 UTC
Size:
1.90 KB
patch
obsolete
>From 80fdc1a194a77fff82a0cee194b736a3dc127e0c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 14:43:02 +0100 >Subject: [PATCH] Bug 41578: Tidy kohaTable - serials/claims.tt > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >index 203707b1d1b..b3b36b66b61 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >@@ -217,11 +217,15 @@ > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'calendar.inc' %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ var table_settings = [% TablesSettings.GetTableSettings( "serials", "claims", "claimst", "json" ) | $raw %]; >+ const vendor_id = "[% supplierid | html %]"; >+ </script> >+ > <script> > var sTable; > $(document).ready(function () { > enableSelectedActions(); >- var table_settings = [% TablesSettings.GetTableSettings( "serials", "claims", "claimst", "json" ) | $raw %]; > sTable = $("#claimst").kohaTable( > { > autowidth: false, >@@ -242,7 +246,7 @@ > $("#ExportSelected").click(function () { > // We need to use "input[name=serialid]:checked" instead of "input:checked". Otherwise, the "check all" box will pass the value of "on" as a serialid, which produces a SQL error. > var selected = $("input[name=serialid]:checked"); >- var supplierid = [% supplierid | html %] >+ var supplierid = vendor_id; > > if (selected.length == 0) { > alert(_("Please select at least one item to export.")); >-- >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 41578
:
191155
|
191156
|
191157
|
191158
|
191159
|
191160
| 191583 |
191584
|
191585
|
191586
|
191587
|
191588
|
191589
|
191590