Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Index analytics collections (#64064)

John Swansone88afceba93d
diff --git a/src/metabase/collections/models/collection.clj b/src/metabase/collections/models/collection.clj
index 401ce5b60c1..5111f25eef3 100644
--- a/src/metabase/collections/models/collection.clj
+++ b/src/metabase/collections/models/collection.clj
@@ -1799,7 +1799,7 @@
:collection_name :name
:collection_type :type
:location true}
- :where [:= :namespace nil]
+ :where [:or [:= :namespace nil] [:= :namespace "analytics"]]
;; depends on the current user, used for rendering and ranking
;; TODO not sure this is what it'll look like
:bookmark [:model/CollectionBookmark [:and