Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ocshawn
Copy link
Contributor

@ocshawn ocshawn commented Apr 14, 2021

Jira Ticket: COV-816

New Features

  • add flag for inclusion in filters of missing data category
  • change test data generating script to also generate missing data fields

if (config.esConfig.aggregationIncludeMissingData && !isNumericField) {
if (config.esConfig.aggregationIncludeMissingData
&& !isNumericField
&& config.esConfig.missingDataInFilters) {
Copy link
Contributor

@mfshao mfshao Apr 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why put this in backend? how is this logic different with just using aggregationIncludeMissingData?

if you put missingDataInFilters as false in here, it is essentially the same as using aggregationIncludeMissingData = false isn't it? and the charts will also has no missing data in the results returned from aggregation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, i was so excited to get things working i missed this

I got it working in src/components/ConnectedFilter/utils.js file, how would i read the config flags from this location? or do i need to set a variable in data portal and pass it down? is src/components/ConnectedFilter/utils.js the best location for this functionality?

@ocshawn
Copy link
Contributor Author

ocshawn commented Apr 19, 2021

starting over with #120 deleting this old branch

@ocshawn ocshawn closed this Apr 19, 2021
@ocshawn ocshawn deleted the feat/missingDataFiltersFlag branch April 19, 2021 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants