Bugzilla – Attachment 99989 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.58 KB, created by
PTFS Europe Sandboxes
on 2020-03-03 11:55:52 UTC
(
hide
)
Description:
Bug 24608: (follow-up) Switch to bug 24455 dates
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2020-03-03 11:55:52 UTC
Size:
2.58 KB
patch
obsolete
>From 49a53f43956681663c2b4c92d7c30d9f74ee1ba1 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Mon, 2 Mar 2020 10:45:26 +0000 >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 51ae68e75a..b0a57f2fb2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -25,6 +25,7 @@ > > [% INCLUDE 'header.inc' %] > [% INCLUDE 'circ-search.inc' %] >+ [% INCLUDE 'js-date-format.inc' %] > > <div id="breadcrumbs"> > <a href="/cgi-bin/koha/mainpage.pl">Home</a> › >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 3c121969be..6e2df89625 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -20,6 +20,7 @@ > <body id="pat_moremember" class="pat"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'patron-search.inc' %] >+ [% INCLUDE 'js-date-format.inc' %] > > <div id="breadcrumbs"> > <a href="/cgi-bin/koha/mainpage.pl">Home</a> >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index e4f881ac10..6236b74f61 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -1127,7 +1127,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.11.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 24608
:
98902
|
98903
|
98908
|
98909
|
98914
|
98915
|
98931
|
98932
|
99240
|
99880
|
99979
|
99986
|
99987
|
99988
|
99989
|
99990
|
126195
|
126196
|
126197
|
126198
|
126201