mirror of
https://github.com/getredash/redash.git
synced 2026-05-09 03:03:08 -04:00
jql: fixed maxResults in count query
This commit is contained in:
@@ -181,7 +181,7 @@ class JiraJQL(BaseQueryRunner):
|
||||
field_mapping = FieldMapping(query.pop('fieldMapping', {}))
|
||||
|
||||
if query_type == 'count':
|
||||
query['maxResults'] = query.get('maxResults', 1)
|
||||
query['maxResults'] = 1
|
||||
query['fields'] = ''
|
||||
else:
|
||||
query['maxResults'] = query.get('maxResults', 1000)
|
||||
|
||||
Reference in New Issue
Block a user