Skip to content

Commit 93e2337

Browse files
authored
Merge pull request #250 from diegodurrod/patch-1
Fixed JQL with pagination example code
2 parents 6f69965 + d2676ca commit 93e2337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ try {
12301230
$page = $totalCount / $maxResult;
12311231

12321232
for ($startAt = 1; $startAt < $page; $startAt++) {
1233-
$ret = $issueService->search($jql, $startAt, $maxResult);
1233+
$ret = $issueService->search($jql, $startAt * $maxResult, $maxResult);
12341234

12351235
print ("\nPaging $startAt\n");
12361236
print ("-------------------\n");

0 commit comments

Comments
 (0)