Bugzilla – Attachment 173303 Details for
Bug 33736
Add bookings to collect circulation report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33736: (follow-up) Rebase fix for changed api date handling
Bug-33736-follow-up-Rebase-fix-for-changed-api-dat.patch (text/plain), 1.72 KB, created by
Martin Renvoize (ashimema)
on 2024-10-24 16:41:35 UTC
(
hide
)
Description:
Bug 33736: (follow-up) Rebase fix for changed api date handling
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-24 16:41:35 UTC
Size:
1.72 KB
patch
obsolete
>From c11db9541f2e227dcd8a7bacd747e8bb1d8a072f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 24 Oct 2024 17:13:34 +0100 >Subject: [PATCH] Bug 33736: (follow-up) Rebase fix for changed api date > handling > >--- > .../intranet-tmpl/prog/en/modules/circ/pendingbookings.tt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >index 6e4c63bcacc..84cc6294f1e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >@@ -111,13 +111,17 @@ > let fromdate = $("#from"); > let isoFrom; > if ( fromdate.val() !== '' ) { >- isoFrom = fromdate.get(0)._flatpickr.selectedDates[0].toISOString().substring(0,10); >+ let selectedDate = fromdate.get(0)._flatpickr.selectedDates[0]; >+ selectedDate.setHours(0, 0, 0, 0); >+ isoFrom = selectedDate.toISOString(); > } > > let todate = $("#to"); > let isoTo; > if ( todate.val() !== '' ) { >- isoTo = todate.get(0)._flatpickr.selectedDates[0].toISOString().substring(0,10); >+ let selectedDate = todate.get(0)._flatpickr.selectedDates[0]; >+ selectedDate.setHours(23, 59, 59, 999); >+ isoTo = selectedDate.toISOString(); > } > > if ( isoFrom || isoTo ) { >-- >2.47.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 33736
:
158356
|
161044
|
165014
|
165144
|
165277
|
165278
|
165279
|
165280
|
170398
|
170399
|
170400
|
172716
|
172717
|
172718
|
172719
|
172720
|
172721
|
172765
|
172807
|
172808
|
172810
|
172823
|
172836
|
172837
|
172838
|
172839
|
172840
|
172841
|
172842
|
172843
|
172844
|
172845
|
173291
|
173292
|
173293
|
173294
|
173295
|
173296
|
173297
|
173298
|
173299
|
173300
|
173301
|
173302
| 173303 |
174582