Skip to content

Commit

Permalink
Merge 47faf39 into fd49943
Browse files Browse the repository at this point in the history
  • Loading branch information
georgyo committed Nov 1, 2016
2 parents fd49943 + 47faf39 commit 523d088
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def _fetch_pages(self, item_type, items_key, request_path, startAt=0, maxResults
if isinstance(resource, dict):
total = resource.get('total', 1)
# 'isLast' is the optional key added to responses in JIRA Agile 6.7.6. So far not used in basic JIRA API.
is_last = resource.get('isLast', True)
is_last = resource.get('isLast', False)
start_at_from_response = resource.get('startAt', 0)
max_results_from_response = resource.get('maxResults', 1)
else:
Expand Down Expand Up @@ -1719,7 +1719,6 @@ def search_issues(self, jql_str, startAt=0, maxResults=50, validate_query=True,
search_params = {
"jql": jql_str,
"startAt": startAt,
"maxResults": maxResults,
"validateQuery": validate_query,
"fields": fields,
"expand": expand}
Expand Down

0 comments on commit 523d088

Please sign in to comment.