superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: display the verbose_name of columns in list view, just like in the metrics list (#3275)
Date Fri, 11 Aug 2017 03:52:26 GMT
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 f399fcd  display the verbose_name of columns in list view, just like in the metrics
list (#3275)
f399fcd is described below

commit f399fcd624c433e36e61e5b3e862147569fb9e94
Author: Rogan <quangenw@gmail.com>
AuthorDate: Fri Aug 11 11:52:24 2017 +0800

    display the verbose_name of columns in list view, just like in the metrics list (#3275)
---
 superset/connectors/druid/views.py | 2 +-
 superset/connectors/sqla/views.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/connectors/druid/views.py b/superset/connectors/druid/views.py
index b9a87e3..b85e611 100644
--- a/superset/connectors/druid/views.py
+++ b/superset/connectors/druid/views.py
@@ -35,7 +35,7 @@ class DruidColumnInlineView(CompactCRUDMixin, SupersetModelView):  # noqa
         'groupby', 'filterable', 'count_distinct', 'sum', 'min', 'max']
     add_columns = edit_columns
     list_columns = [
-        'column_name', 'type', 'groupby', 'filterable', 'count_distinct',
+        'column_name', 'verbose_name', 'type', 'groupby', 'filterable', 'count_distinct',
         'sum', 'min', 'max']
     can_delete = False
     page_size = 500
diff --git a/superset/connectors/sqla/views.py b/superset/connectors/sqla/views.py
index ef87d31..4aa577d 100644
--- a/superset/connectors/sqla/views.py
+++ b/superset/connectors/sqla/views.py
@@ -39,7 +39,7 @@ class TableColumnInlineView(CompactCRUDMixin, SupersetModelView):  # noqa
         'is_dttm', 'python_date_format', 'database_expression']
     add_columns = edit_columns
     list_columns = [
-        'column_name', 'type', 'groupby', 'filterable', 'count_distinct',
+        'column_name', 'verbose_name', 'type', 'groupby', 'filterable', 'count_distinct',
         'sum', 'min', 'max', 'is_dttm']
     page_size = 500
     description_columns = {

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <commits@superset.apache.org>'].

Mime
View raw message