Bugzilla – Attachment 191155 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
2f26b65.patch (text/plain), 1.86 KB, created by
Jonathan Druart
on 2026-01-09 14:52:37 UTC
(
hide
)
Description:
Bug 41578: Tidy kohaTable - serials/claims.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:52:37 UTC
Size:
1.86 KB
patch
obsolete
>From 2f26b65067befdca385d1c6bb0431e7db29717c3 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 > >--- > 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.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 41578
: 191155 |
191156
|
191157
|
191158
|
191159
|
191160