From 79014ac5343c47ede4287599580839f64df2450a Mon Sep 17 00:00:00 2001 From: Blou Date: Tue, 19 Apr 2016 16:28:42 -0400 Subject: [PATCH] Bug 11317 - Allow sorting on date column in file access tool. For some reason, the table was blocking sorting based on timestamp, even though most users would probably want that since the feature is used primarily to access generated (daily) reports and finding the last ones is very important. --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt index 6c6ac8f..ca79abe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt @@ -10,7 +10,7 @@ $("#files").dataTable($.extend(true, {}, dataTablesDefaults, { "sDom": 't', "aoColumnDefs": [ - { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false } + { "aTargets": [ -1 ], "asSorting" : [ "desc", "asc" ], "bSearchable": false } ], "bPaginate": false })); -- 1.9.1