Bugzilla – Attachment 175041 Details for
Bug 38465
Cannot schedule a curbside pickup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38465: (bug 36454 follow-up) Fix curbside pickup's patron autocomplete
Bug-38465-bug-36454-follow-up-Fix-curbside-pickups.patch (text/plain), 1.59 KB, created by
David Nind
on 2024-12-01 17:11:54 UTC
(
hide
)
Description:
Bug 38465: (bug 36454 follow-up) Fix curbside pickup's patron autocomplete
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-12-01 17:11:54 UTC
Size:
1.59 KB
patch
obsolete
>From f7623fbe1cfe83dc156993af46d7eec4548b028b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 18 Nov 2024 09:38:18 +0100 >Subject: [PATCH] Bug 38465: (bug 36454 follow-up) Fix curbside pickup's patron > autocomplete > >js-date-format.inc already include those 2 JS files. If had them in >curbside pickups template because it was the first using dayjs. >Now it's included in js_includes.inc. > >Test plan: >Configure curbside pickup for your library and go to circ/curbside_pickups.pl >Last tab, search for a patron >Without this patch you get a JS error: > Uncaught TypeError: m.tz is not a function >With this patch applied the patron autocomplete is fixed > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >index ac3c0d3182..89a8091d95 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >@@ -516,9 +516,7 @@ > </div> <!-- /.row --> > > [% MACRO jsinclude BLOCK %] >- [% Asset.js("lib/dayjs/dayjs.min.js") | $raw %] > [% Asset.js("lib/dayjs/plugin/isSameOrAfter.js") | $raw %] >- [% Asset.js("lib/dayjs/plugin/customParseFormat.js") | $raw %] > <script>dayjs.extend(window.dayjs_plugin_isSameOrAfter)</script> > <script>dayjs.extend(window.dayjs_plugin_customParseFormat)</script> > [% INCLUDE 'calendar.inc' %] >-- >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 38465
:
174661
|
175041
|
175442