Bugzilla – Attachment 86722 Details for
Bug 18589
Show ILLs as part of patron profile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18589: (QA follow-up) Remove dateFormat from javascript on ill requests pages.
Bug-18589-QA-follow-up-Remove-dateFormat-from-java.patch (text/plain), 2.58 KB, created by
Josef Moravec
on 2019-03-18 14:44:38 UTC
(
hide
)
Description:
Bug 18589: (QA follow-up) Remove dateFormat from javascript on ill requests pages.
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-03-18 14:44:38 UTC
Size:
2.58 KB
patch
obsolete
>From f5d6d326b5424c6237c00c716fc5cb28643c3483 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Mon, 18 Mar 2019 14:33:24 +0000 >Subject: [PATCH] Bug 18589: (QA follow-up) Remove dateFormat from javascript > on ill requests pages. > >This is not needed, the right formatting is done in calendar.inc > >Test plan: >Use datepickers on ILL requests list page and ensure they work as >expected and the list is right filterred > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 8 -------- > koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt | 8 -------- > 2 files changed, 16 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index a096f32015..39f09ee36b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -526,14 +526,6 @@ > [% INCLUDE 'calendar.inc' %] > [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] > <script> >- // Date format for datepickers >- var dateMap = { >- dmydot: 'dd.mm.yy', >- iso: 'yy-mm-dd', >- metric: 'dd/mm/yy', >- us: 'mm/dd/yy' >- }; >- var dateFormat = dateMap['[% Koha.Preference('dateformat') | html %]']; > var prefilters = '[% prefilters | html %]'; > // Set column settings > var columns_settings = [% ColumnsSettings.GetColumns( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) %]; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt >index 01c6b5862e..79529841d8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/ill-requests.tt >@@ -45,14 +45,6 @@ > [% INCLUDE 'calendar.inc' %] > [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] > <script> >- // Date format for datepickers >- var dateMap = { >- dmydot: 'dd.mm.yy', >- iso: 'yy-mm-dd', >- metric: 'dd/mm/yy', >- us: 'mm/dd/yy' >- }; >- var dateFormat = dateMap['[% Koha.Preference('dateformat') | html %]']; > var prefilters = '[% prefilters | html %]'; > // Set column settings > var columns_settings = [% ColumnsSettings.GetColumns( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) %]; >-- >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 18589
:
74809
|
79692
|
82177
|
82513
|
84197
|
84199
|
84204
|
84792
|
84796
|
86432
|
86433
|
86456
|
86465
|
86504
|
86506
|
86507
|
86714
|
86715
|
86716
|
86717
|
86718
|
86719
|
86720
|
86721
|
86722
|
86735
|
86736
|
86737