Bugzilla – Attachment 126201 Details for
Bug 24608
Allow modification of checkout due date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24608: (follow-up) Switch to bug 24455 dates
Bug-24608-follow-up-Switch-to-bug-24455-dates.patch (text/plain), 2.71 KB, created by
Martin Renvoize (ashimema)
on 2021-10-13 13:51:48 UTC
(
hide
)
Description:
Bug 24608: (follow-up) Switch to bug 24455 dates
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-10-13 13:51:48 UTC
Size:
2.71 KB
patch
obsolete
>From 09d17dde1cdedfbfa0d7faa66a3308cb015d26db Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 13 Oct 2021 14:51:00 +0100 >Subject: [PATCH] Bug 24608: (follow-up) Switch to bug 24455 dates > >Bug 24455 does a far more comprehensive job of date parsing than my >single use case patch in bug 24650, therefore this bug has now switched >to using it > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 1 + > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- > 3 files changed, 3 insertions(+), 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 4a89747a61..af6f9269c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -10,6 +10,7 @@ > [% USE Price %] > [% USE AuthorisedValues %] > [% SET footerjs = 1 %] >+[% INCLUDE 'js-date-format.inc' %] > [% INCLUDE 'doc-head-open.inc' %] > [% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %] > [% SET destination = "circ" %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 2d95e8b303..93cd1eebd3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -11,6 +11,7 @@ > [% PROCESS 'member-display-address-style.inc' %] > [% PROCESS 'member-display-alt-address-style.inc' %] > [% SET footerjs = 1 %] >+[% INCLUDE 'js-date-format.inc' %] > [% INCLUDE 'doc-head-open.inc' %] > [% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %] > <title> >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 796d67896f..3e178f4940 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -1223,7 +1223,7 @@ $(document).ready(function() { > type: 'PUT', > data: JSON.stringify({ date_due: dt.toISOString() }), > success: function( data ) { >- var dateFormatted = ISO_to_syspref(data.due_date); >+ var dateFormatted = $date(data.due_date); > saveBtn.siblings('.date_due').text(dateFormatted).show(); > $('#issues-table .edit_due_date_btn').removeAttr('disabled'); > p.find('#due_date_select').remove() >-- >2.20.1
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 24608
:
98902
|
98903
|
98908
|
98909
|
98914
|
98915
|
98931
|
98932
|
99240
|
99880
|
99979
|
99986
|
99987
|
99988
|
99989
|
99990
|
126195
|
126196
|
126197
|
126198
| 126201