aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/webapp/apps/frontPageApp/frontPageApp.js')
-rwxr-xr-xsrc/main/resources/webapp/apps/frontPageApp/frontPageApp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js b/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js
index 9e507b4..def1e67 100755
--- a/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js
+++ b/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js
@@ -71,13 +71,13 @@ function BadgeCtrl($scope, $routeParams, Badge) {
}
function PersonListCtrl($scope, Person, PagingTableService) {
- var groupSize = 4;
+ var groupSize = 4, rows = 6;
var personsWatcher = function () {
$scope.personGroups = groupBy($scope.persons.rows, groupSize);
};
$scope.persons = PagingTableService.create($scope, PagingTableService.defaultCallback(Person, {orderBy: "name"}),
- {count: groupSize * 6, watcher: personsWatcher});
+ {count: groupSize * rows, watcher: personsWatcher});
console.log("$scope.persons.searchText", $scope.persons.searchText);
console.log("$scope.persons.rows", $scope.persons.rows);