diff options
Diffstat (limited to 'templates/devel')
-rw-r--r-- | templates/devel/clock.html | 1 | ||||
-rw-r--r-- | templates/devel/index.html | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/templates/devel/clock.html b/templates/devel/clock.html index 9ebea06c..bf4614b5 100644 --- a/templates/devel/clock.html +++ b/templates/devel/clock.html @@ -58,6 +58,7 @@ $(document).ready(function() { $("#clocks-table:has(tbody tr)").tablesorter({ widgets: ['zebra'], + sortLocaleCompare: true, sortList: [[0,0]], headers: { 4: { sorter: false } } }); 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 %} |