Bugfix, missing WHERE CLAUSE field in form

This commit is contained in:
Maxime Beauchemin 2015-10-05 09:27:33 -07:00
parent d810a9d5ad
commit 096f6977c4
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class FormFactory(object):
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