Table sorting script for History
Posted by mholmes on 27 May 2014 in Activity log
Adapted some table-sorting JS I wrote for MoEML so that it works to enable sorting of faculty and staff profile tables on the History site, pending the possible future arrival of the more sophisticated filter system they've asked for in a ticket. There is apparently a similar system already available that you can invoke by adding the "tablesorter" class to your table, but of course we can do this with automatically-generated tables from the profile-block system, so our custom option is needed in this context, and it will serve as a model for adding JS to other Cascade contexts when custom features are needed.