From 096f6977c4f5d1adde82c0ea970214ff78887a36 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Mon, 5 Oct 2015 09:27:33 -0700 Subject: [PATCH] Bugfix, missing WHERE CLAUSE field in form --- panoramix/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panoramix/forms.py b/panoramix/forms.py index efceca9e4cfd2..4a0d3ffa17937 100644 --- a/panoramix/forms.py +++ b/panoramix/forms.py @@ -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