Fix sort error for connection log

This commit is contained in:
calzoneman 2013-05-22 10:56:27 -04:00
parent 0b29aa5d0e
commit 12c1f4acf8

View file

@ -290,8 +290,8 @@ Callbacks = {
$(tbl.children()[1]).remove(); $(tbl.children()[1]).remove();
} }
entries.sort(function(a, b) { entries.sort(function(a, b) {
var x = a.name.toLowerCase(); var x = a.names.join(",").toLowerCase();
var y = b.name.toLowerCase(); var y = b.names.join(",").toLowerCase();
// Force blanknames to the bottom // Force blanknames to the bottom
if(x == "") { if(x == "") {
return 1; return 1;