Bugzilla – Attachment 174279 Details for
Bug 37354
Bookings should respect circulation rules for max loan periods
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37354: (QA follow-up) Reset state on clear
Bug-37354-QA-follow-up-Reset-state-on-clear.patch (text/plain), 1.46 KB, created by
Martin Renvoize (ashimema)
on 2024-11-08 15:29:22 UTC
(
hide
)
Description:
Bug 37354: (QA follow-up) Reset state on clear
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-11-08 15:29:22 UTC
Size:
1.46 KB
patch
obsolete
>From f0d04bc56546b6e9a9fd86295adf4b10747300c2 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 8 Nov 2024 15:26:20 +0000 >Subject: [PATCH] Bug 37354: (QA follow-up) Reset state on clear > >We were missing a reset for flatPickr state when using the clear option >for flatPickr. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js b/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js >index 8d5e0943744..7b85ac53dac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js >@@ -815,8 +815,10 @@ $("#placeBookingModal").on("show.bs.modal", function (e) { > }); > $("#booking_item_id").trigger("change.select2"); > } >- // Range not set, reset field options >+ // Range not set, reset field options and flatPickr state > else { >+ boldDates = []; >+ instance.set("maxDate", null); > $("#booking_item_id > option").each(function () { > let option = $(this); > if (option.data("pickup")) { >-- >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 37354
:
168950
|
168964
|
168965
|
168966
|
168967
|
169008
|
169009
|
169590
|
169591
|
169685
|
169686
|
170066
|
170067
|
172890
|
172891
|
173137
|
173210
|
173620
|
173621
|
173622
|
173623
|
174275
|
174276
|
174277
|
174278
| 174279