From d2676caf8fa87fabfbdf5b08340fc6d76f7d410d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Dur=C3=A1n?= <46654166+diegodurrod@users.noreply.github.com> Date: Sun, 12 May 2019 16:30:02 +0200 Subject: [PATCH] Fixed JQL with pagination example code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c2c65de3..95294325 100644 --- a/README.md +++ b/README.md @@ -1114,7 +1114,7 @@ try { $page = $totalCount / $maxResult; for ($startAt = 1; $startAt < $page; $startAt++) { - $ret = $issueService->search($jql, $startAt, $maxResult); + $ret = $issueService->search($jql, $startAt * $maxResult, $maxResult); print ("\nPaging $startAt\n"); print ("-------------------\n");