FIX: Fix for some screens not sorting issue number in proper sequence

This commit is contained in:
evilhero 2017-02-16 00:01:31 -05:00
parent c9c99adebd
commit cf3f177158
4 changed files with 8 additions and 8 deletions

View File

@ -816,7 +816,7 @@
$('#menu_link_addalltoRL').click(function(){
$('#issue_table tbody tr').each(function(){
$(this).find('a[title="Add to Reading List"]').click();
$(this).find('a[title="Add to Reading List"]').click();
});
});
@ -846,7 +846,7 @@
{ 'bSortable': false, 'aTargets': [ 0, 3 ] },
{ 'bVisible': false, 'aTargets': [1] },
{ 'sType': 'numeric', 'aTargets': [1] },
{ 'iDataSort': [1], 'aTargets': [2] }
{ 'columns.orderData': [1], 'aTargets': [2] }
],
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, 'All' ]],
"oLanguage": {
@ -859,7 +859,7 @@
"bStateSave": true,
"iDisplayLength": 25,
"sPaginationType": "full_numbers",
"aaSorting": [[2, 'desc'],[4,'desc']]
"aaSorting": [[1, 'desc'],[4,'desc']]
});
$('#annual_table').dataTable(
{
@ -868,7 +868,7 @@
{ 'bSortable': false, 'aTargets': [ 0, 3 ] },
{ 'bVisible': false, 'aTargets': [1] },
{ 'sType': 'numeric', 'aTargets': [1] },
{ 'iDataSort': [1], 'aTargets': [2] }
{ 'columns.orderData': [1], 'aTargets': [2] }
],
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, 'All' ]],
"oLanguage": {

View File

@ -87,8 +87,8 @@
{ 'bSortable': false, 'aTargets': [5, 9] },
{ 'bVisible': false, 'aTargets': [5, 9] },
{ 'sType': 'numeric', 'aTargets': [5] },
{ 'iDataSort': [5], 'aTargets': [6] },
{ 'iDataSort': [9], 'aTargets': [8] }
{ 'columns.orderData': [5], 'aTargets': [6] },
{ 'columns.orderData': [9], 'aTargets': [8] }
],
"aLengthMenu": [[10, 15, 25, 50, -1], [10, 15, 25, 50, 'All' ]],
"oLanguage": {

View File

@ -72,7 +72,7 @@
{ 'bSortable': false, 'aTargets': [ 0 , 2 ] },
{ 'bVisible': false, 'aTargets': [2] },
{ 'sType': 'numeric', 'aTargets': [2] },
{ 'iDataSort': [2], 'aTargets': [3] }
{ 'columns.orderData': [2], 'aTargets': [3] }
],
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, 'All' ]],
"oLanguage": {

View File

@ -110,7 +110,7 @@
{ 'bSortable': false, 'aTargets': [ 0 , 2 ] },
{ 'bVisible': false, 'aTargets': [2] },
{ 'sType': 'numeric', 'aTargets': [2] },
{ 'iDataSort': [2], 'aTargets': [3] }
{ 'columns.orderData': [2], 'aTargets': [3] }
],
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, 'All' ]],
"oLanguage": {