]> git.koha-community.org Git - koha.git/commit
Bug 25968: Make logs sort by date descending as a default
authorOwen Leonard <oleonard@myacpl.org>
Fri, 10 Jul 2020 13:19:14 +0000 (13:19 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 6 Aug 2020 20:20:13 +0000 (20:20 +0000)
commit10d515257c0c68a4ca07c8ab8108068ded1298e0
tree01debc92dd8f0b195df3f8b73dda70a1266a6056
parent549cc995b2796b9e413c2860fe2d09fef5d97778
Bug 25968: Make logs sort by date descending as a default

This patch adds DataTables with columns configuration to the log viewer.
The table of log entries is now sorted by default by date descending.

To test, apply the patch and go to Administration -> Table settings.

 - Expand the "Tools" section and confirm that there is a section for
   "logviewer."
 - Go to Tools -> Log viewer.
 - Perform a search which will return multiple results.
 - Confirm that the results are sorted by date descending.
 - Test that the table controls work correctly: Paging, columns, export.
 - Return to the Table settings administration page and test that
   changes to those settings are correctly reflected in the log viewer
   table.

Signed-off-by: barbara <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
JD amended patch: Fix indentation in .yml to match other entries

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit e68fe2a928bec05b9602fa28dfbc86e04657ce81)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/columns_settings.yml
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt
koha-tmpl/intranet-tmpl/prog/js/viewlog.js