Skip to content

Commit

Permalink
Fix: Duplicate dashboard rows were returned by Dashboard.all() (#5466)
Browse files Browse the repository at this point in the history
  • Loading branch information
susodapop committed Jun 15, 2021
1 parent 5ed241d commit 1f83f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ def all(cls, org, group_ids, user_id):
joinedload(Dashboard.user).load_only(
"id", "name", "_profile_image_url", "email"
)
)
).distinct(Dashboard.created_at, Dashboard.slug)
.outerjoin(Widget)
.outerjoin(Visualization)
.outerjoin(Query)
Expand Down

0 comments on commit 1f83f3b

Please sign in to comment.