GUAC-1138: Filter and sort sessions based on pre-formatted date.

This commit is contained in:
Michael Jumper
2015-03-29 13:29:30 -07:00
parent cb0ef9ca75
commit 731f02fb0c
2 changed files with 3 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ angular.module('manage').controller('manageSessionsController', ['$scope', '$inj
*/
$scope.wrapperOrder = new SortOrder([
'activeConnection.username',
'activeConnection.startDate',
'startDate',
'activeConnection.remoteHost',
'name'
]);
@@ -76,6 +76,7 @@ angular.module('manage').controller('manageSessionsController', ['$scope', '$inj
*/
$scope.filteredWrapperProperties = [
'activeConnection.username',
'startDate',
'activeConnection.remoteHost',
'name'
];

View File

@@ -49,7 +49,7 @@ THE SOFTWARE.
<th guac-sort-order="wrapperOrder" guac-sort-property="'activeConnection.username'">
{{'MANAGE_SESSION.TABLE_HEADER_SESSION_USERNAME' | translate}}
</th>
<th guac-sort-order="wrapperOrder" guac-sort-property="'activeConnection.startDate'">
<th guac-sort-order="wrapperOrder" guac-sort-property="'startDate'">
{{'MANAGE_SESSION.TABLE_HEADER_SESSION_STARTDATE' | translate}}
</th>
<th guac-sort-order="wrapperOrder" guac-sort-property="'activeConnection.remoteHost'">