]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1516867 Make HTML report tables sortable
authorDan Scott <dscott@laurentian.ca>
Tue, 17 Nov 2015 03:20:28 +0000 (22:20 -0500)
committerBen Shum <ben@evergreener.net>
Sun, 7 Feb 2016 21:01:52 +0000 (16:01 -0500)
commit75150d47c01e4daab5df5a9b8aeae8ed8234b56f
treeb58cb8e3a08b5cac65b3624cc4cf90824bba8f32
parente32a1d4feeb9fe2fa2bf133bce4e6cd4b4414e77
LP#1516867 Make HTML report tables sortable

Using the sortable JavaScript library from https://github.com/hubspot/sortable
(MIT license), we can make HTML reports much more usable by making them
sortable by clicking on the column headers. This should save some downloading
of CSV or Excel versions of the reports.

To test:

[1] Create or use a report template and generate an HTML report; ensure
    that the report has at most 10,000 rows of output.
[2] View the report output and click on one of the column headings;
    verify that the table sorts itself by that column's values.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/reporter/clark-kent.pl
Open-ILS/web/js/sortable/LICENSE [new file with mode: 0644]
Open-ILS/web/js/sortable/sortable-theme-minimal.css [new file with mode: 0644]
Open-ILS/web/js/sortable/sortable.min.js [new file with mode: 0644]
docs/RELEASE_NOTES_NEXT/Administration/sortable_html_reports.adoc [new file with mode: 0644]