Bugzilla – Attachment 191384 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
Bug-41568-Tidy-kohaTable---circtransferstoreceivet.patch (text/plain), 1.47 KB, created by
Owen Leonard
on 2026-01-13 18:12:31 UTC
(
hide
)
Description:
Bug 41568: Tidy kohaTable - circ/transferstoreceive.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-13 18:12:31 UTC
Size:
1.47 KB
patch
obsolete
>From 7eeab61184223c30b332ae14e35303d61cea114f 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 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../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.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 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