mirror of
https://github.com/sismics/docs.git
synced 2024-11-21 21:47:57 +01:00
TODO
This commit is contained in:
parent
10b31aec29
commit
2c430f522c
@ -44,7 +44,7 @@ App.controller('Document', function($scope, $state, Restangular) {
|
||||
})
|
||||
.then(function(data) {
|
||||
$scope.documents = data.documents;
|
||||
$scope.totalDocuments = data.total; // TODO This is not really the total number of documents
|
||||
$scope.totalDocuments = data.total;
|
||||
$scope.numPages = Math.ceil(data.total / $scope.limit);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user