Ensure durations are sorted correctly
The automatic detection started using the builtin time parser instead of our duration parser, causing it to barf on anything > 60 minutes. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
262cea74c1
commit
6ac07fd269
@ -106,12 +106,11 @@ <h3>Mirror Syncing Error Log</h3>
|
||||
<script type="text/javascript" src="/media/archweb.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var headers = { 5: { sorter: 'duration' }, 6: { sorter: 'mostlydigit' }, 7: { sorter: 'mostlydigit' }, 8: { sorter: 'mostlydigit' } };
|
||||
$("#outofsync_mirrors:has(tbody tr)").tablesorter(
|
||||
{widgets: ['zebra'], sortList: [[3,1]],
|
||||
headers: { 6: { sorter: 'mostlydigit' }, 7: { sorter: 'mostlydigit' }, 8: { sorter: 'mostlydigit' } } });
|
||||
{widgets: ['zebra'], sortList: [[3,1]], headers: headers });
|
||||
$("#successful_mirrors:has(tbody tr)").tablesorter(
|
||||
{widgets: ['zebra'], sortList: [[8,0]],
|
||||
headers: { 6: { sorter: 'mostlydigit' }, 7: { sorter: 'mostlydigit' }, 8: { sorter: 'mostlydigit' } } });
|
||||
{widgets: ['zebra'], sortList: [[8,0]], headers: headers });
|
||||
$("#errorlog_mirrors:has(tbody tr)").tablesorter(
|
||||
{widgets: ['zebra'], sortList: [[4,1], [5,1]]});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user