diff --git a/src/ui/static/resources/js/components/paginator/paginator.directive.html b/src/ui/static/resources/js/components/paginator/paginator.directive.html index 73cc77c4b..800604c60 100644 --- a/src/ui/static/resources/js/components/paginator/paginator.directive.html +++ b/src/ui/static/resources/js/components/paginator/paginator.directive.html @@ -12,3 +12,4 @@ +
// 'total' | tr // // vm.totalCount // // 'items' | tr //
\ No newline at end of file diff --git a/src/ui/static/resources/js/components/paginator/paginator.directive.js b/src/ui/static/resources/js/components/paginator/paginator.directive.js index d9e08be0b..01c157e3c 100644 --- a/src/ui/static/resources/js/components/paginator/paginator.directive.js +++ b/src/ui/static/resources/js/components/paginator/paginator.directive.js @@ -106,11 +106,10 @@ if(this.time > this.minimum) { if(this.time === 0) { ctrl.page = ctrl.displayCount; - }else if((ctrl.page % ctrl.displayCount) != 0) { + }else{ ctrl.page = this.time * ctrl.displayCount; } --this.time; - --ctrl.page; } scope.$apply(); }; diff --git a/src/ui/static/resources/js/components/user/list-user.directive.html b/src/ui/static/resources/js/components/user/list-user.directive.html index 10147219e..7d524634a 100644 --- a/src/ui/static/resources/js/components/user/list-user.directive.html +++ b/src/ui/static/resources/js/components/user/list-user.directive.html @@ -55,7 +55,7 @@