From b4a6daef1188ab30e1c00dc22183fced359eb381 Mon Sep 17 00:00:00 2001 From: equal-l2 Date: Thu, 20 Sep 2018 07:28:40 +0900 Subject: [PATCH] Fix the total page count in the history tab --- share/tools/web_config/js/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/tools/web_config/js/controllers.js b/share/tools/web_config/js/controllers.js index 8133e2dc5..8cf9c80c5 100644 --- a/share/tools/web_config/js/controllers.js +++ b/share/tools/web_config/js/controllers.js @@ -255,7 +255,7 @@ controllers.controller("historyController", function($scope, $http, $timeout) { if ($scope.filteredItemPages[0].length === 0) { return "None"; } - return ($scope.currentPage + 1) + " / " + ($scope.filteredItemPages.length + 1); + return ($scope.currentPage + 1) + " / " + $scope.filteredItemPages.length; }; $scope.prevPage = function () {