From 45d1914bc389eda090744bae736e45d42cc165c2 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Fri, 4 Jan 2013 17:32:13 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 9349: fix on date sort in Saved Reports Content-Type: text/plain; charset="utf-8" Allows the dd/mm/yyyy format to be correctly sorted in the Saved Reports table. TEST PLAN : Try with different date formats (system preference "dateformat") Before patch, the "dd/mm/yyyy" is not well sorted. Signed-off-by: Owen Leonard --- .../en/modules/reports/guided_reports_start.tt | 1 + 1 file changed, 1 insertion(+) 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 c055b2b..8bfce98 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 @@ -62,6 +62,7 @@ $(document).ready(function(){ [% END %] // call the tablesorter plugin $("#table_reports").tablesorter({ + [% IF ( dateformat_metric ) %]dateFormat: 'uk',[% END %] widgets : ['zebra'], sortList: [[1,0]], headers: { -- 1.7.9.5