Commit 6d0ea42f authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Append history custom values in session explorer (#1501)

parent c9c9ee27
......@@ -310,7 +310,7 @@ llapp.controller 'SessionsExplorerCtrl', ['$scope', '$translator', '$location',
value: "Error #{l.error} (IP #{l.ipAddr})" + cv
delete session._loginHistory
tmp.sort (a,b) ->
a.t - b.t
b.t - a.t
res.push
title: '__loginHistory__'
nodes: tmp
......
......@@ -378,7 +378,7 @@
}
delete session._loginHistory;
tmp.sort(function(a, b) {
return a.t - b.t;
return b.t - a.t;
});
res.push({
title: '__loginHistory__',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment