1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 03:22:22 -05:00

Fix for active and status sorting

This commit is contained in:
Supremicus 2014-10-02 20:30:06 +10:00
parent db9802e442
commit f4e351a160

View File

@ -200,7 +200,7 @@
2: function(node) { return \$(node).find("img").attr("alt"); }, 2: function(node) { return \$(node).find("img").attr("alt"); },
#end if #end if
3: function(node) { return \$(node).find("span").text(); }, 3: function(node) { return \$(node).find("span").text(); },
6: function(node) { return \$(node).find("img").attr("alt"); } 5: function(node) { return \$(node).find("img").attr("alt"); }
}, },
widgets: ['saveSort', 'zebra'], widgets: ['saveSort', 'zebra'],
headers: { headers: {
@ -209,6 +209,8 @@
2: { sorter: 'network' }, 2: { sorter: 'network' },
3: { sorter: 'quality' }, 3: { sorter: 'quality' },
4: { sorter: 'eps' }, 4: { sorter: 'eps' },
5: { sorter: 'active' },
6: { sorter: 'status' },
} }
}); });
@ -221,7 +223,7 @@
2: function(node) { return \$(node).find("img").attr("alt"); }, 2: function(node) { return \$(node).find("img").attr("alt"); },
#end if #end if
3: function(node) { return \$(node).find("span").text(); }, 3: function(node) { return \$(node).find("span").text(); },
6: function(node) { return \$(node).find("img").attr("alt"); } 5: function(node) { return \$(node).find("img").attr("alt"); }
}, },
widgets: ['saveSort', 'zebra'], widgets: ['saveSort', 'zebra'],
headers: { headers: {
@ -230,6 +232,8 @@
2: { sorter: 'network' }, 2: { sorter: 'network' },
3: { sorter: 'quality' }, 3: { sorter: 'quality' },
4: { sorter: 'eps' }, 4: { sorter: 'eps' },
5: { sorter: 'active' },
6: { sorter: 'status' },
} }
}); });