You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by pk...@apache.org on 2021/08/11 22:32:01 UTC

[superset] branch master updated: fix: sorting on "Modified By" in chart table (#16208)

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

pkdotson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new b4555df  fix: sorting on "Modified By" in chart table (#16208)
b4555df is described below

commit b4555dfa4f739eb9c59e7a24f3c0beef66065057
Author: Phillip Kelley-Dotson <pk...@yahoo.com>
AuthorDate: Wed Aug 11 15:31:10 2021 -0700

    fix: sorting on "Modified By" in chart table (#16208)
    
    * initial fix
    
    * Update ChartList.tsx
    
    change sort to first name
---
 superset-frontend/src/views/CRUD/chart/ChartList.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/views/CRUD/chart/ChartList.tsx b/superset-frontend/src/views/CRUD/chart/ChartList.tsx
index 6393616..e4aff81 100644
--- a/superset-frontend/src/views/CRUD/chart/ChartList.tsx
+++ b/superset-frontend/src/views/CRUD/chart/ChartList.tsx
@@ -285,7 +285,7 @@ function ChartList(props: ChartListProps) {
           </a>
         ),
         Header: t('Modified by'),
-        accessor: 'last_saved_by',
+        accessor: 'last_saved_by.first_name',
         size: 'xl',
       },
       {