Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/metabase/models/dashboard.clj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
[Collection :collection] [:= :collection.id :card.collection_id]]
:where [:and
[:= :dashcard.dashboard_id (u/the-id dashboard-or-id)]
[:= :card.simpro_removed false]
[:or
[:= :card.simpro_removed false]
[:= :card.simpro_removed nil]] ;handle virtual cards
[:or
[:= :card.archived false]
[:= :card.archived nil]]] ; e.g. DashCards with no corresponding Card, e.g. text Cards
Expand Down
Loading