Bugzilla – Attachment 40358 Details for
Bug 14382
datepicker's dateFormat setting for reports is missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14382 - datepicker's dateFormat setting for reports is missing
0001-Bug-14382-datepicker-s-dateFormat-setting-for-report.patch (text/plain), 1.35 KB, created by
Amit Gupta
on 2015-06-19 09:35:07 UTC
(
hide
)
Description:
Bug 14382 - datepicker's dateFormat setting for reports is missing
Filename:
MIME Type:
Creator:
Amit Gupta
Created:
2015-06-19 09:35:07 UTC
Size:
1.35 KB
patch
obsolete
>From 87f458ab33b01006305999bd7db0d722aae40bc3 Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@informaticsglobal.com> >Date: Fri, 19 Jun 2015 15:03:55 +0530 >Subject: [PATCH] Bug 14382 - datepicker's dateFormat setting for reports is > missing > >Report require date in ISO format(yyyy-mm-dd). > >Test Plan >1. Go to Report module >2. Create report from option (Create report from SQL). >3. Write the sql with date as input filter. >4. Choose the date (Now date came in ISO format (yyyy-mm-dd). >5. Run the report. >--- > .../en/modules/reports/guided_reports_start.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 283a1cf..d12dd67 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -169,6 +169,10 @@ $(document).ready(function(){ > }); > [% END %] > >+ // redefine the datepicker's default because reports require ISO >+ // http://jqueryui.com/demos/datepicker/#option-dateFormat >+ $( ".datepicker" ).datepicker( "option", "dateFormat", "yyyy-mm-dd" ); >+ > [% IF (create || editsql || save) %] > $("#select_group").change(function() { > if($(this).attr('checked')) { >-- >1.7.9.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 14382
:
40127
|
40130
|
40157
|
40357
|
40358
|
40360
|
40593
|
40594
|
40611
|
40684
|
40691
|
40776
|
40777
|
40781