From 404a9ee77d39e38f4ea304de69ee85b0e594885e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 15 Oct 2015 16:56:46 -0700 Subject: [PATCH] GUAC-1193: Fix the history sort order - sorting mainly by username for historical records is just silly. --- .../app/settings/directives/guacSettingsConnectionHistory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guacamole/src/main/webapp/app/settings/directives/guacSettingsConnectionHistory.js b/guacamole/src/main/webapp/app/settings/directives/guacSettingsConnectionHistory.js index edc7e9db8..0290d6046 100644 --- a/guacamole/src/main/webapp/app/settings/directives/guacSettingsConnectionHistory.js +++ b/guacamole/src/main/webapp/app/settings/directives/guacSettingsConnectionHistory.js @@ -81,9 +81,9 @@ angular.module('settings').directive('guacSettingsConnectionHistory', [function * @type SortOrder */ $scope.order = new SortOrder([ + '-startDate', + '-endDate', 'username', - 'startDate', - 'endDate', 'connectionName' ]);