From c59ad4d446788f4d7b48aed69766a8e69f658b33 Mon Sep 17 00:00:00 2001 From: Benjamin Gamard Date: Mon, 13 Nov 2017 22:50:21 +0100 Subject: [PATCH] fix pagination --- docs-web/src/main/webapp/src/partial/docs/document.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-web/src/main/webapp/src/partial/docs/document.html b/docs-web/src/main/webapp/src/partial/docs/document.html index ceb53465..7b0d2722 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.html @@ -159,7 +159,7 @@ next-text="{{ 'pagination.next' | translate }}" first-text="{{ 'pagination.first' | translate }}" last-text="{{ 'pagination.last' | translate }}" - total-items="totalDocuments" items-per-page="limit" max-size="5" ng-model="currentPage"> + total-items="totalDocuments" items-per-page="limit" max-size="5" ng-model="$parent.currentPage">