From 2c430f522c6f5756b2013d32282142c79b9fa4cd Mon Sep 17 00:00:00 2001 From: Benjamin Gamard Date: Sun, 11 Aug 2013 23:09:28 +0200 Subject: [PATCH] TODO --- docs-web/src/main/webapp/js/controller/Document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); };