You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ta...@apache.org on 2020/10/26 23:36:21 UTC

[incubator-superset] branch master updated: fix: saved query list sort by database (#11430)

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

tai 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 59885c4  fix: saved query list sort by database (#11430)
59885c4 is described below

commit 59885c4deab965b67c0dfaebbdeed4ad41141a6c
Author: ʈᵃᵢ <td...@gmail.com>
AuthorDate: Mon Oct 26 16:36:03 2020 -0700

    fix: saved query list sort by database (#11430)
---
 superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx b/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx
index 849547c..f887af5 100644
--- a/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx
+++ b/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx
@@ -241,12 +241,16 @@ function SavedQueryList({
         Header: t('Name'),
       },
       {
-        id: 'database',
         accessor: 'database.database_name',
         Header: t('Database'),
         size: 'xl',
       },
       {
+        accessor: 'database',
+        hidden: true,
+        disableSortBy: true,
+      },
+      {
         accessor: 'schema',
         Header: t('Schema'),
         size: 'xl',