Skip to content

Commit

Permalink
Bugfix, missing WHERE CLAUSE field in form
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 5, 2015
1 parent d810a9d commit 096f697
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 @@ -240,7 +240,7 @@ class QueryForm(OmgWtForm):
setattr(QueryForm, s, px_form_fields[s])

# datasource type specific form elements
if datasource.__class__.__name__ == 'Table':
if datasource.__class__.__name__ == 'SqlaTable':
QueryForm.field_order += ['where']
setattr(QueryForm, 'where', px_form_fields['where'])
return QueryForm

0 comments on commit 096f697

Please sign in to comment.