Bugzilla – Attachment 168904 Details for
Bug 37345
Remember for session checkbox on checkout page not sticking
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37345: Make stickyduedate stick
Bug-37345-Make-stickyduedate-stick.patch (text/plain), 1.69 KB, created by
Lucas Gass (lukeg)
on 2024-07-12 13:45:35 UTC
(
hide
)
Description:
Bug 37345: Make stickyduedate stick
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-07-12 13:45:35 UTC
Size:
1.69 KB
patch
obsolete
>From b545e0388cdb07784fa35729ee1bda6b402108fc Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 12 Jul 2024 13:43:22 +0000 >Subject: [PATCH] Bug 37345: Make stickyduedate stick > >To test: >1. Find an item to checkout and a patron to check out to. >2. Set a due manually: "Specify due date (MM/DD/YYYY):" >3. Before checking out click the "Remember for session:" checkbox. >4. Check the item out. >5. The specific due date is not retained. >6. APPLY PATCH >7. Try 1 -4 again, now the date should be sticking. >8. Turn on the OnSiteCheckouts system pref and make sure it still works >9. Turn on the OnSiteCheckoutAutoCheck system pref and make sure the on-site checkbox is still checked after doing an on-site checkout. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index c7679844ff..c7aef24805 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -1052,7 +1052,7 @@ > const duedatespec = document.querySelector("#duedatespec"); > if( duedatespec ){ > const duedatespec_fp = duedatespec._flatpickr; >- if ( $("#onsite_checkout").prop('checked') ) { >+ if ( $("#onsite_checkout").prop('checked') || $('#stickyduedate').prop('checked') ) { > duedatespec_fp.setDate("[% today_due_date_and_time | $KohaDates dateformat => 'iso', with_hours => 1 %]"); > } else { > duedatespec_fp.setDate(""); >-- >2.39.2
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 37345
:
168904
|
169010
|
169072
|
169097