You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yj...@apache.org on 2020/10/29 05:44:48 UTC

[incubator-superset] 05/33: can now filter dashboards/charts for "Edited" tabs (filter by changed_by o_m)

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

yjc pushed a commit to branch home-screen-mvp
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit b38ddfb3c322795ac98864e27200db6ecd56aca9
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Tue Sep 22 16:05:59 2020 -0700

    can now filter dashboards/charts for "Edited" tabs (filter by changed_by o_m)
---
 superset/charts/api.py     | 1 +
 superset/dashboards/api.py | 1 +
 2 files changed, 2 insertions(+)

diff --git a/superset/charts/api.py b/superset/charts/api.py
index 3ef27d0..6ebe3cb 100644
--- a/superset/charts/api.py
+++ b/superset/charts/api.py
@@ -144,6 +144,7 @@ class ChartRestApi(BaseSupersetModelRestApi):
     ]
     search_columns = [
         "created_by",
+        "changed_by",
         "datasource_id",
         "datasource_name",
         "datasource_type",
diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py
index 8f65f35..0e93159 100644
--- a/superset/dashboards/api.py
+++ b/superset/dashboards/api.py
@@ -157,6 +157,7 @@ class DashboardRestApi(BaseSupersetModelRestApi):
         "owners",
         "published",
         "slug",
+        "changed_by"
     )
     search_filters = {
         "dashboard_title": [DashboardTitleOrSlugFilter],