Bug 18985 - SQL reports 'Last edit' and 'Last run' columns sort alphabetically, not...
authorOwen Leonard <oleonard@myacpl.org>
Tue, 1 Aug 2017 17:07:33 +0000 (17:07 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 10 Aug 2017 19:25:35 +0000 (16:25 -0300)
commit3304c7c4ca49db1b95aa564b3550bacf260b9b4f
tree33eb09d3c6f5f6568d5bc032c44b1f2473e6381d
parent0e2c823e8806c35673505d0e2a03081cac00190a
Bug 18985 - SQL reports 'Last edit' and 'Last run' columns sort alphabetically, not chronologically

This patch alters the DataTables configuration of the SQL reports list
so that date columns are identified via class rather than position.

To test, apply the patch and go to Reports -> Use saved.

Test the re-ordering of the creation date, last edit, and last run
columns. Each should sort correctly based on the date.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt