HTML reports should be dynamically sortable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Currently, HTML reports are static tables that are sorted in the order in which the columns were output, so the first column determines the sort order of the table.
While we offer CSV and Excel formats for manipulation of the data, that's overkill for many HTML reports would benefit by being dynamically sortable--for example, circulation reports that let you click on the header to sort in descending instead of ascending order for total fines, or to sort by last name instead of first name, etc.
Luckily this is easily accomplished with modern JavaScript libraries. If we tweak the HTML just slightly, and include a library like sortable (https:/
Changed in evergreen: | |
milestone: | none → 2.next |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
status: | New → Confirmed |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Pushed user/dbs/ lp1516867_ sortable_ html_report to working for the amusement of all. We're running this in production because it's a minor delta to clark-kent.pl and a nice overall win.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dbs/lp1516867_ sortable_ html_report