Summary: | SQL reports 'Last edit' and 'Last run' columns sort alphabetically, not chronologically | ||
---|---|---|---|
Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
Component: | Reports | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | fridolin.somers, veron |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19039 | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 14365 | ||
Bug Blocks: | |||
Attachments: |
Bug 18985 - SQL reports 'Last edit' and 'Last run' columns sort alphabetically, not chronologically
Bug 18985 - SQL reports 'Last edit' and 'Last run' columns sort alphabetically, not chronologically Bug 18985 - SQL reports 'Last edit' and 'Last run' columns sort alphabetically, not chronologically |
Description
Nick Clemens (kidclamp)
2017-07-26 02:34:34 UTC
Do we have the same with other dates in data tables as well? Created attachment 65423 [details] [review] 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. (In reply to Marc Véron from comment #1) > Do we have the same with other dates in data tables as well? Virtual shelves results (lists) have a 'Date added' column that is not sortable. Created attachment 65500 [details] [review] 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> Created attachment 65849 [details] [review] 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> Pushed to master for 17.11, thanks to everybody involved! Pushed to 17.05.x, will be in 17.05.05. There is no 'Last Run' in 16.11.x as this is a 17.05 feature. Also no 'Last edit'. |