lib/repsheet_visualizer/application/public/javascripts/application.js in repsheet_visualizer-0.0.7 vs lib/repsheet_visualizer/application/public/javascripts/application.js in repsheet_visualizer-0.0.8
- old
+ new
@@ -1,6 +1,9 @@
$(document).ready(function() {
- $("#actors").tablesorter({sortList: [[2,1], [1,1]],widgets: ['zebra']});
+ // Bring up tablesorter and sort by people who have committed the
+ // most number of ModSecurity violations and who are not yet on
+ // the blacklist
+ $("#actors").tablesorter({sortList: [[2,0], [4,1]],widgets: ['zebra']});
});
function angle(d) {
var a = (d.startAngle + d.endAngle) * 90 / Math.PI - 90;
return a > 90 ? a - 180 : a;