From 36eef44594292a4433b89cb9e1c77317e12f0abc Mon Sep 17 00:00:00 2001 From: bergware Date: Mon, 21 Aug 2017 23:04:03 +0200 Subject: [PATCH] Improved sorting in browse function --- plugins/dynamix/Browse.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/Browse.page b/plugins/dynamix/Browse.page index 9cd91e8bc..b189408ee 100644 --- a/plugins/dynamix/Browse.page +++ b/plugins/dynamix/Browse.page @@ -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();}}); }); });