Repository: syncope Updated Branches: refs/heads/master 39d507d49 -> a6cf81094
[SYNCOPE-1236] Fix pagition size error for list of executed notification tasks Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/a6cf8109 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/a6cf8109 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/a6cf8109 Branch: refs/heads/master Commit: a6cf810946f8f6073bf072af15673c24db6bca9d Parents: 39d507d Author: skylark17 <[email protected]> Authored: Fri Nov 17 11:42:04 2017 +0100 Committer: skylark17 <[email protected]> Committed: Fri Nov 17 11:42:44 2017 +0100 ---------------------------------------------------------------------- .../client/console/tasks/NotificationTaskDirectoryPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/a6cf8109/client/console/src/main/java/org/apache/syncope/client/console/tasks/NotificationTaskDirectoryPanel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/tasks/NotificationTaskDirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/tasks/NotificationTaskDirectoryPanel.java index 70dae9b..5ed2e05 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/tasks/NotificationTaskDirectoryPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/tasks/NotificationTaskDirectoryPanel.java @@ -218,7 +218,7 @@ public abstract class NotificationTaskDirectoryPanel @Override public long size() { - return restClient.count(TaskType.NOTIFICATION); + return restClient.listNotificationTasks(notification, anyTypeKind, entityKey, 1, -1, getSort()).size(); } @Override
