diff --git a/docs-web/src/main/webapp/js/controller/Document.js b/docs-web/src/main/webapp/js/controller/Document.js index ae79c182..70c06892 100644 --- a/docs-web/src/main/webapp/js/controller/Document.js +++ b/docs-web/src/main/webapp/js/controller/Document.js @@ -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); }); };