mirror of
https://github.com/valitydev/redash.git
synced 2024-11-09 02:06:49 +00:00
jql: fixed maxResults in count query
This commit is contained in:
parent
48322856d9
commit
ea7c6c2be3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user