This is an automated email from the ASF dual-hosted git repository. michaelsmolina pushed a commit to branch 5.0 in repository https://gitbox.apache.org/repos/asf/superset.git
commit 7aa4cd4eef2ce759773579d2be76ddc337ea62fe Author: Đỗ Trọng Hải <[email protected]> AuthorDate: Sat Feb 22 02:14:08 2025 +0700 fix(fe/dashboard-list): display modifier info for `Last modified` data (#32035) Signed-off-by: hainenber <[email protected]> (cherry picked from commit 88cf2d5c39d7d44757e990aed046dd62447256b3) --- superset-frontend/src/pages/DashboardList/DashboardList.test.jsx | 2 +- superset-frontend/src/pages/DashboardList/index.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/pages/DashboardList/DashboardList.test.jsx b/superset-frontend/src/pages/DashboardList/DashboardList.test.jsx index 0cf6db2ae8..2fc46c800a 100644 --- a/superset-frontend/src/pages/DashboardList/DashboardList.test.jsx +++ b/superset-frontend/src/pages/DashboardList/DashboardList.test.jsx @@ -166,7 +166,7 @@ describe('DashboardList', () => { const callsD = fetchMock.calls(/dashboard\/\?q/); expect(callsD).toHaveLength(1); expect(callsD[0][0]).toMatchInlineSnapshot( - `"http://localhost/api/v1/dashboard/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25,select_columns:!(id,dashboard_title,published,url,slug,changed_by,changed_on_delta_humanized,owners.id,owners.first_name,owners.last_name,owners,tags.id,tags.name,tags.type,status,certified_by,certification_details,changed_on))"`, + `"http://localhost/api/v1/dashboard/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25,select_columns:!(id,dashboard_title,published,url,slug,changed_by,changed_by.id,changed_by.first_name,changed_by.last_name,changed_on_delta_humanized,owners,owners.id,owners.first_name,owners.last_name,tags.id,tags.name,tags.type,status,certified_by,certification_details,changed_on))"`, ); }); diff --git a/superset-frontend/src/pages/DashboardList/index.tsx b/superset-frontend/src/pages/DashboardList/index.tsx index 93d2904086..3e63bd4b91 100644 --- a/superset-frontend/src/pages/DashboardList/index.tsx +++ b/superset-frontend/src/pages/DashboardList/index.tsx @@ -119,11 +119,14 @@ const DASHBOARD_COLUMNS_TO_FETCH = [ 'url', 'slug', 'changed_by', + 'changed_by.id', + 'changed_by.first_name', + 'changed_by.last_name', 'changed_on_delta_humanized', + 'owners', 'owners.id', 'owners.first_name', 'owners.last_name', - 'owners', 'tags.id', 'tags.name', 'tags.type',
