File tree 3 files changed +8
-0
lines changed 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ def whitelist_params(params)
33
33
field_name : params [ :field_name ] ,
34
34
expression : params [ :expression ] ,
35
35
filters : params [ :filters ] ,
36
+ rounding_function : params [ :rounding_function ] ,
37
+ rounding_precision : params [ :rounding_precision ] ,
36
38
} . compact ,
37
39
}
38
40
end
Original file line number Diff line number Diff line change 7
7
"aggregation_type" : " sum_agg" ,
8
8
"weighted_interval" : null ,
9
9
"recurring" : false ,
10
+ "rounding_function" : " round" ,
11
+ "rounding_precision" : 2 ,
10
12
"expression" : " 1 + 2" ,
11
13
"field_name" : " amount_sum" ,
12
14
"created_at" : " 2022-04-29T08:59:51Z" ,
Original file line number Diff line number Diff line change 8
8
"aggregation_type" : " sum_agg" ,
9
9
"weighted_interval" : null ,
10
10
"recurring" : false ,
11
+ "rounding_function" : " round" ,
12
+ "rounding_precision" : 2 ,
11
13
"expression" : " 1 + 2" ,
12
14
"field_name" : " amount_sum" ,
13
15
"created_at" : " 2022-04-29T08:59:51Z" ,
24
26
"aggregation_type" : " sum_agg" ,
25
27
"weighted_interval" : null ,
26
28
"recurring" : false ,
29
+ "rounding_function" : " round" ,
30
+ "rounding_precision" : 2 ,
27
31
"expression" : " 1 + 2" ,
28
32
"field_name" : " amount_sum" ,
29
33
"created_at" : " 2022-04-30T08:59:51Z" ,
You can’t perform that action at this time.
0 commit comments