You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/10/31 14:35:34 UTC
(superset) 03/11: fix(chore): dashboard requests to database equal the number of slices it has (#24709)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 8483ab6c42f90ae7c3a62661c3a2a84858af238d
Author: Stepan <66...@users.noreply.github.com>
AuthorDate: Fri Oct 20 10:32:14 2023 +0300
fix(chore): dashboard requests to database equal the number of slices it has (#24709)
(cherry picked from commit 75a74313799b70b636c88cf421fd4d1118cc8a61)
---
superset/daos/dashboard.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/superset/daos/dashboard.py b/superset/daos/dashboard.py
index f9544aa53d..2c03711f25 100644
--- a/superset/daos/dashboard.py
+++ b/superset/daos/dashboard.py
@@ -68,8 +68,6 @@ class DashboardDAO(BaseDAO[Dashboard]):
query = (
db.session.query(Dashboard)
.filter(id_or_slug_filter(id_or_slug))
- .outerjoin(Slice, Dashboard.slices)
- .outerjoin(Slice.table)
.outerjoin(Dashboard.owners)
.outerjoin(Dashboard.roles)
)