@datarailsshared/dr_renderer 1.2.143 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.2.143",
3
+ "version": "1.2.145-tigers",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -4948,11 +4948,15 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
4948
4948
  }
4949
4949
  });
4950
4950
 
4951
- // // fill filter fields
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});