diff --git a/superset/datasets/api.py b/superset/datasets/api.py index eca5dce1f161a..c582788ebcfab 100644 --- a/superset/datasets/api.py +++ b/superset/datasets/api.py @@ -204,7 +204,7 @@ class DatasetRestApi(BaseSupersetModelRestApi): "sql": [DatasetIsNullOrEmptyFilter], "id": [DatasetCertifiedFilter], } - search_columns = ["id", "database", "owners", "sql", "table_name"] + search_columns = ["id", "database", "owners", "schema", "sql", "table_name"] filter_rel_fields = {"database": [["id", DatabaseFilter, lambda: []]]} allowed_rel_fields = {"database", "owners"} allowed_distinct_fields = {"schema"}