diff --git a/guacamole/src/main/frontend/src/app/settings/directives/guacSettingsConnectionHistory.js b/guacamole/src/main/frontend/src/app/settings/directives/guacSettingsConnectionHistory.js index 796edcd5c..42cf10c1b 100644 --- a/guacamole/src/main/frontend/src/app/settings/directives/guacSettingsConnectionHistory.js +++ b/guacamole/src/main/frontend/src/app/settings/directives/guacSettingsConnectionHistory.js @@ -82,11 +82,11 @@ angular.module('settings').directive('guacSettingsConnectionHistory', [function * @type SortOrder */ $scope.order = new SortOrder([ - '-startDate', + '-entry.startDate', '-duration', - 'username', - 'connectionName', - 'remoteHost' + 'entry.username', + 'entry.connectionName', + 'entry.remoteHost' ]); // Get session date format @@ -216,11 +216,11 @@ angular.module('settings').directive('guacSettingsConnectionHistory', [function ), function pushRecord(historyEntryWrapper) { records.push([ - historyEntryWrapper.username, - $filter('date')(historyEntryWrapper.startDate, $scope.dateFormat), + historyEntryWrapper.entry.username, + $filter('date')(historyEntryWrapper.entry.startDate, $scope.dateFormat), historyEntryWrapper.duration / 1000, - historyEntryWrapper.connectionName, - historyEntryWrapper.remoteHost + historyEntryWrapper.entry.connectionName, + historyEntryWrapper.entry.remoteHost ]); } ); diff --git a/guacamole/src/main/frontend/src/app/settings/templates/settingsConnectionHistory.html b/guacamole/src/main/frontend/src/app/settings/templates/settingsConnectionHistory.html index 34f2fd3a6..41e0f65eb 100644 --- a/guacamole/src/main/frontend/src/app/settings/templates/settingsConnectionHistory.html +++ b/guacamole/src/main/frontend/src/app/settings/templates/settingsConnectionHistory.html @@ -17,31 +17,31 @@
+ | {{'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_USERNAME' | translate}} | -+ | {{'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_STARTDATE' | translate}} | {{'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_DURATION' | translate}} | -+ | {{'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_CONNECTION_NAME' | translate}} | -+ | {{'SETTINGS_CONNECTION_HISTORY.TABLE_HEADER_SESSION_REMOTEHOST' | translate}} |
---|---|---|---|---|---|---|---|---|
{{historyEntryWrapper.startDate | date : dateFormat}} | +{{historyEntryWrapper.entry.startDate | date : dateFormat}} | - | {{historyEntryWrapper.connectionName}} | -{{historyEntryWrapper.remoteHost}} | +{{historyEntryWrapper.entry.connectionName}} | +{{historyEntryWrapper.entry.remoteHost}} |