Bugzilla – Attachment 192357 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
Paul Derscheid
on 2026-02-03 08:24:12 UTC
(
hide
)
Description:
Bug 41568: Tidy kohaTable - circ/circulation_batch_checkouts.tt
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2026-02-03 08:24:12 UTC
Size:
1.63 KB
patch
obsolete
>From e715311137d324ee3bd4ebbdd69599e16fe91aaa 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.52.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
|
192356
|
192357
|
192358
|
192359
|
192360
|
192361
|
192362
|
192363
|
192364
|
192365
|
192366
|
192367
|
192368
|
192369
|
192637
|
192638
|
192639
|
192640
|
192641
|
192642
|
192643
|
192644
|
192645
|
192646
|
192647
|
192648
|
192649
|
192650