diff options
author | Dan McGee <dan@archlinux.org> | 2012-07-09 00:40:17 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-07-28 17:52:52 -0500 |
commit | 2a221fa72fd8491ca1a0633ba62b6a846267b4fc (patch) | |
tree | 5768f0af4e3ca1c55df498ff552c03663862e261 /templates/devel/index.html | |
parent | 280c53eec5661252b5692fa374292c4d421e3bd8 (diff) |
Upgrade to jQuery 1.7.2 and a maintained tablesorterrelease_2012-07-28
This touches a wide variety of files as well as makes updates to some of
our own code to be fully compatible. We also use some of the newer
locale/accent sorting features of tablesorter to make tables with
developer names sort in a more sane fashion.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel/index.html')
-rw-r--r-- | templates/devel/index.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index ad8ee0ee..488b6755 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -306,11 +306,14 @@ $(document).ready(function() { sortList: [[0,0]], headers: { 6: {sorter: false } } }); - $(".dash-stats").tablesorter({ + var settings = { widgets: ['zebra'], sortList: [[0,0]], headers: { 1: { sorter: 'pkgcount' }, 2: { sorter: 'pkgcount' }, 3: { sorter: 'pkgcount' } } - }); + }; + $(".dash-stats").not($("#stats-by-maintainer")).tablesorter(settings); + settings['sortLocaleCompare'] = true; + $("#stats-by-maintainer").tablesorter(settings); }); </script> {% endblock %} |