From 663ca8e5c73419f368780b344b176b7e331e3a53 Mon Sep 17 00:00:00 2001 From: metamben <103100869+metamben@users.noreply.github.com> Date: Sat, 20 May 2023 18:04:33 +0300 Subject: [PATCH] Add aggregation operator specific properties to display-info schema (#30884) --- src/metabase/lib/metadata/calculation.cljc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/metabase/lib/metadata/calculation.cljc b/src/metabase/lib/metadata/calculation.cljc index e15532b4eef..7eb912ffcc8 100644 --- a/src/metabase/lib/metadata/calculation.cljc +++ b/src/metabase/lib/metadata/calculation.cljc @@ -275,7 +275,10 @@ ;; does this column occur in the breakout clause? [:is-breakout-column {:optional true} [:maybe :boolean]] ;; does this column occur in the order-by clause? - [:is-order-by-column {:optional true} [:maybe :boolean]]]) + [:is-order-by-column {:optional true} [:maybe :boolean]] + ;; for aggregation operators + [:column-name {:optional true} :string] + [:description {:optional true} :string]]) (mu/defn display-info :- ::display-info "Given some sort of Cljs object, return a map with the info you'd need to implement UI for it. This is mostly meant to -- GitLab