diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/devel/clock.html | 1 | ||||
-rw-r--r-- | templates/devel/index.html | 7 | ||||
-rw-r--r-- | templates/public/keys.html | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/templates/devel/clock.html b/templates/devel/clock.html index 9ebea06..bf4614b 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 ad8ee0e..488b675 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 %} diff --git a/templates/public/keys.html b/templates/public/keys.html index cd0b059..1fed3c1 100644 --- a/templates/public/keys.html +++ b/templates/public/keys.html @@ -94,6 +94,7 @@ <script type="text/javascript"> $(document).ready(function() { $("#key-status").tablesorter({ + sortLocaleCompare: true, headers: { 1: { sorter: false } } }); }); |