@datarailsshared/dr_renderer 1.2.144-tigers → 1.2.145-tigers
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -4948,11 +4948,15 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
|
4948
4948
|
}
|
|
4949
4949
|
});
|
|
4950
4950
|
|
|
4951
|
-
//
|
|
4951
|
+
// fill filter fields
|
|
4952
4952
|
lodash.forEach(widgetOptions.filters, function (valObj) {
|
|
4953
4953
|
fieldOb = lodash.find(fields, {id: valObj.field});
|
|
4954
4954
|
if (fieldOb) {
|
|
4955
4955
|
filterFields.push(fieldOb);
|
|
4956
|
+
let temp_date_aggregation_config = lodash.find(date_aggregation_configs, {field_id: fieldOb.id});
|
|
4957
|
+
if (temp_date_aggregation_config) {
|
|
4958
|
+
fieldOb.date_aggregation_config = temp_date_aggregation_config;
|
|
4959
|
+
}
|
|
4956
4960
|
fieldOb.allow_nulls = lodash.includes(fields_allow_null_in_filters, fieldOb.id);
|
|
4957
4961
|
if (!doNotRemoveFilters)
|
|
4958
4962
|
lodash.remove(fields, {id: fieldOb.id});
|