Skip to content

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

fix: custom home page settings are not being exported (#67550)

Jakub Chodorowicz9f6d9f46f326
diff --git a/src/metabase/appearance/settings.clj b/src/metabase/appearance/settings.clj
index 7e5476d96e9..4a02c48a810 100644
--- a/src/metabase/appearance/settings.clj
+++ b/src/metabase/appearance/settings.clj
@@ -35,14 +35,16 @@
:default false
:type :boolean
:audit :getter
- :visibility :public)
+ :visibility :public
+ :export? true)
(defsetting custom-homepage-dashboard
(deferred-tru "ID of dashboard to use as a homepage")
:encryption :no
:type :integer
:visibility :public
- :audit :getter)
+ :audit :getter
+ :export? true)
(defn- coerce-to-relative-url
"Get the path of a given URL if the URL contains an origin.
diff --git a/test_resources/serialization_baseline/settings.yaml b/test_resources/serialization_baseline/settings.yaml
index f7b7360ba7d..f7340d39168 100644
--- a/test_resources/serialization_baseline/settings.yaml
+++ b/test_resources/serialization_baseline/settings.yaml
@@ -12,6 +12,8 @@ available-timezones: null
breakout-bins-num: null
custom-formatting: null
custom-geojson: null
+custom-homepage: null
+custom-homepage-dashboard: null
custom-geojson-enabled: null
default-maps-enabled: null
disable-cors-on-localhost: null