Bugzilla – Attachment 191376 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/circulation_batch_checkouts.tt
Bug-41568-Tidy-kohaTable---circcirculationbatchche.patch (text/plain), 1.63 KB, created by
Owen Leonard
on 2026-01-13 18:12:07 UTC
(
hide
)
Description:
Bug 41568: Tidy kohaTable - circ/circulation_batch_checkouts.tt
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-01-13 18:12:07 UTC
Size:
1.63 KB
patch
obsolete
>From 73553b57d736ad4dcbeed9dcef4713b23cc8f0bb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 11:59:09 +0100 >Subject: [PATCH] Bug 41568: Tidy kohaTable - > circ/circulation_batch_checkouts.tt > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/modules/circ/circulation_batch_checkouts.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >index 94fe4f8edb2..f3180b21283 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >@@ -352,6 +352,10 @@ > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'calendar.inc' %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ // FIXME Why are we using a Perl variable here? >+ const today_due_date_and_time = "[% today_due_date_and_time | $KohaDates dateformat => 'iso', with_hours => 1 %]"; >+ </script> > <script> > $(document).ready(function() { > if($('#barcodelist').length) { >@@ -369,7 +373,7 @@ > function toggle_onsite_checkout(){ > if ( $("#onsite_checkout").prop('checked') ) { > const duedatespec_fp = document.querySelector("#duedatespec")._flatpickr; >- duedatespec_fp.setDate("[% today_due_date_and_time | $KohaDates dateformat => 'iso', with_hours => 1 %]"); >+ duedatespec_fp.setDate("today_due_date_and_time); > }; > }; > >-- >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