Fixed bugs with viz in exploreV2 (#1609)

* Fixed bugs with viz in exploreV2

Done:
 - fix typo in pie viz
 - add metrics/groupby to dist_bar viz
 - fix typo in heatmap viz
 - add big_number_total to viz
 - fixed problem with fetching columns for datasource
 - add sqlaTimeSeries to viz
 - change row_limit and limit from number to strings so that we
 don't need to parse integers in bootstrap data

* Fix python tests

* Added order_bars checkbox for dist_bar viz
This commit is contained in:
vera-liu
2016-11-17 12:31:36 -08:00
committed by GitHub
parent bce02e3f51
commit d5ef937b31
5 changed files with 55 additions and 19 deletions

View File

@@ -429,7 +429,7 @@ class CoreTests(SupersetTestCase):
self.login(username='admin')
url = '/superset/fetch_datasource_metadata?datasource_type=table&datasource_id=1';
resp = json.loads(self.get_resp(url))
self.assertEqual(len(resp['field_options']), 19)
self.assertEqual(len(resp['field_options']), 20)
if __name__ == '__main__':