Skip to content

Commit

Permalink
[hotfix] granularity fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 17, 2016
1 parent 987a1af commit 2b1dcf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panoramix/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,11 +571,11 @@ def add_to_form(attrs):
else:
time_fields = 'granularity_sqla'
add_to_form((time_fields, ))
add_to_form(('since', 'until'))
else:
time_fields = 'granularity'
add_to_form(('granularity',))
field_css_classes['granularity'] = ['form-control', 'select2']
add_to_form(('since', 'until'))

QueryForm.fieldsets = ({
'label': 'Time',
Expand Down

0 comments on commit 2b1dcf0

Please sign in to comment.