Skip to content
Snippets Groups Projects
Commit 17f9ffbc authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

When sorting by logon date, display most recent first

parent 68bbefe8
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -86,7 +86,7 @@ if(!sort)
switch(sort) {
case 'L':
list.sort(function(a, b) { return a.stats.laston_date - b.stats.laston_date; });
list.sort(function(a, b) { return b.stats.laston_date - a.stats.laston_date; });
break;
case 'N':
list.sort(function(a, b) { if(a.alias.toLowerCase() > b.alias.toLowerCase()) return 1; return -1; });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment