GUAC-1373: Define sorting only by start date.

This commit is contained in:
Michael Jumper authored and James Muehlner committed 2015-11-24 21:34:37 -08:00
1 parent 4e4ba9ac45
commit 77804b2a9d
6 files changed
+14 -90

No files matched your search

@@ -164,7 +164,9 @@ angular.module('settings').directive('guacSettingsConnectionHistory', [function
historyService.getConnectionHistory(
$scope.dataSource,
requiredContents,
$scope.order.predicate
$scope.order.predicate.filter(function isSupportedPredicate(predicate) {
return predicate === 'startDate' || predicate === '-startDate';
})
)
.success(function historyRetrieved(historyRecords) {