LP#1516867 Make HTML report tables sortable
authorDan Scott <dscott@laurentian.ca>
Tue, 17 Nov 2015 03:20:28 +0000 (22:20 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 20 Nov 2015 21:28:20 +0000 (21:28 +0000)
commitc4419db62a52cd749db9fc062cb06263cfdc6edd
treefef965d259b05fe8838f7a259edb37c3e21faa65
parentd3dd07c63e90a79be88213a540a35861e939d524
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>
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]