Bugzilla – Attachment 191120 Details for
Bug 41568
Tidy kohaTable block - circ
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41568: Tidy kohaTable - circ/transferstoreceive.tt
dfe71d4.patch (text/plain), 1.42 KB, created by
Jonathan Druart
on 2026-01-09 14:47:14 UTC
(
hide
)
Description:
Bug 41568: Tidy kohaTable - circ/transferstoreceive.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:47:14 UTC
Size:
1.42 KB
patch
obsolete
>From dfe71d420f8730b7941b79204a6098a957628c9a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 12:23:50 +0100 >Subject: [PATCH] Bug 41568: Tidy kohaTable - circ/transferstoreceive.tt > >--- > .../prog/en/modules/circ/transferstoreceive.tt | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt >index 2bec7d42392..7cb9eae2673 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt >@@ -113,14 +113,21 @@ > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ let library_ids = []; >+ [% FOR library IN branchesloop %] >+ library_ids.push("[% library.branchcode | html %]"); >+ [% END %] >+ </script> >+ > <script> > $(document).ready(function() { >- [% FOREACH branchesloo IN branchesloop %] >- $("#transferst[% branchesloo.branchcode | html %]").kohaTable({ >+ library_ids.forEach(library_id => { >+ $(`#transferst${library_id}`).kohaTable({ > dom: "t", > paging: false, > }); >- [% END %] >+ } > }); > </script> > [% END %] >-- >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 41568
:
191111
|
191112
|
191113
|
191114
|
191115
|
191116
|
191117
|
191118
|
191119
|
191120
|
191121
|
191122
|
191123
|
191375
|
191376
|
191377
|
191378
|
191379
|
191380
|
191381
|
191382
|
191383
|
191384
|
191385
|
191386
|
191387
|
191388