You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/12/15 10:55:20 UTC

[incubator-superset] branch master updated: fix(viz): remove orderby from sample request (#12055)

This is an automated email from the ASF dual-hosted git repository.

villebro 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 821b017  fix(viz): remove orderby from sample request (#12055)
821b017 is described below

commit 821b01737d4181698e3fe95abbe47cdb20572567
Author: Ville Brofeldt <33...@users.noreply.github.com>
AuthorDate: Tue Dec 15 12:54:32 2020 +0200

    fix(viz): remove orderby from sample request (#12055)
---
 superset/viz.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/viz.py b/superset/viz.py
index 9b7d46a..549445f 100644
--- a/superset/viz.py
+++ b/superset/viz.py
@@ -246,6 +246,7 @@ class BaseViz:
             {
                 "groupby": [],
                 "metrics": [],
+                "orderby": [],
                 "row_limit": config["SAMPLES_ROW_LIMIT"],
                 "columns": [o.column_name for o in self.datasource.columns],
             }