This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new af2b92d Fix #7984 (#7985)
af2b92d is described below
commit af2b92d1477f12936233080daf0a98a9618536de
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Tue Aug 6 21:15:47 2019 -0700
Fix #7984 (#7985)
See https://github.com/apache/incubator-superset/issues/7984 for more
details
---
superset/viz.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/superset/viz.py b/superset/viz.py
index 959b64f..d6d0259 100644
--- a/superset/viz.py
+++ b/superset/viz.py
@@ -1069,6 +1069,9 @@ class BigNumberTotalViz(BaseViz):
raise Exception(_("Pick a metric!"))
d["metrics"] = [self.form_data.get("metric")]
self.form_data["metric"] = metric
+
+ # Limiting rows is not required as only one cell is returned
+ d["row_limit"] = None
return d