mirror of
https://github.com/unraid/webgui.git
synced 2026-02-06 08:59:01 -06:00
Improved sorting in browse function
This commit is contained in:
@@ -25,7 +25,7 @@ $(function(){
|
||||
$.cookie('col',sort[0],{path:'/'});
|
||||
$.cookie('dir',sort[1],{path:'/'});
|
||||
});
|
||||
table.tablesorter({sortList:[[col,dir]],textExtraction:function(n,t,i){return $(n).attr('data')||$(n).text();}});
|
||||
table.tablesorter({sortList:[[col,dir],[1,0]],sortAppend:[[1,0]],textExtraction:function(n,t,i){return $(n).attr('data')||$(n).text();}});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user