Skip to content

Commit bf54e86

Browse files
committed
Fixes sorting inside pages without server sorting
Fixes #2750
1 parent a520f70 commit bf54e86

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

restcomm/restcomm.ui/src/main/webapp/resources/js/controllers/logs-messages.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ rcMod.controller('LogsMessagesCtrl', function ($scope, $resource, $timeout, $uib
1515
$scope.search = {
1616
local_only: true,
1717
sub_accounts: false
18-
}
18+
};
1919

2020
// pagination support ----------------------------------------------------------------------------------------------
2121

2222
$scope.currentPage = 1; //current page
2323
$scope.maxSize = 5; //pagination max size
2424
$scope.entryLimit = 10; //max rows for data table
25-
$scope.reverse = true;
25+
$scope.reverse = false;
2626
$scope.predicate = "date_created";
2727

2828
$scope.setEntryLimit = function(limit) {

restcomm/restcomm.ui/src/main/webapp/resources/js/controllers/logs-notifications.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ rcMod.controller('LogsNotificationsCtrl', function ($scope, $resource, $timeout,
1414
// default search values
1515
$scope.search = {
1616
sub_accounts: false
17-
}
17+
};
1818

1919
// pagination support ----------------------------------------------------------------------------------------------
2020

2121
$scope.currentPage = 1; //current page
2222
$scope.maxSize = 5; //pagination max size
2323
$scope.entryLimit = 10; //max rows for data table
24-
$scope.reverse = true;
24+
$scope.reverse = false;
2525
$scope.predicate = "date_created";
2626

2727
$scope.setEntryLimit = function(limit) {

restcomm/restcomm.ui/src/main/webapp/resources/js/controllers/logs-recordings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ rcMod.controller('LogsRecordingsCtrl', function($scope, $resource, $timeout, $ui
1515
$scope.search = {
1616
local_only: true,
1717
sub_accounts: false
18-
}
18+
};
1919

2020
// pagination support ----------------------------------------------------------------------------------------------
2121

2222
$scope.currentPage = 1; //current page
2323
$scope.maxSize = 5; //pagination max size
2424
$scope.entryLimit = 10; //max rows for data table
25-
$scope.reverse = true;
25+
$scope.reverse = false;
2626
$scope.predicate = "date_created";
2727

2828
$scope.setEntryLimit = function(limit) {

restcomm/restcomm.ui/src/main/webapp/resources/js/controllers/logs-transcriptions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ rcMod.controller('LogsTranscriptionsCtrl', function ($scope, $resource, $timeout
1515
$scope.search = {
1616
local_only: true,
1717
sub_accounts: false
18-
}
18+
};
1919

2020
// pagination support ----------------------------------------------------------------------------------------------
2121

2222
$scope.currentPage = 1; //current page
2323
$scope.maxSize = 5; //pagination max size
2424
$scope.entryLimit = 10; //max rows for data table
25-
$scope.reverse = true;
25+
$scope.reverse = false;
2626
$scope.predicate = "date_created";
2727

2828
$scope.setEntryLimit = function(limit) {

0 commit comments

Comments
 (0)