Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maps] fix removal of multi fields for tooltip field selection #49816

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Oct 31, 2019

PR #47070 changed the structure of Field.subType from a string to an object. The PR updated the logic in getSourceFields but changed the logic from filtering out multi fields to only including multi fields.

This PR just fixes the logic of getSourceFields and adds some tests so its clearer what the function is doing

To test, create a layer from ES documents source for web logs sample data set. Verify that all keyword fields are not included in the tooltip selection list

Screen Shot 2019-10-30 at 7 32 15 PM

@nreese nreese added release_note:fix [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 v7.6.0 labels Oct 31, 2019
@nreese nreese requested a review from thomasneirynck October 31, 2019 01:31
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@nreese nreese requested a review from Bargs October 31, 2019 01:32
@elasticmachine
Copy link
Contributor

💔 Build Failed

@nreese
Copy link
Contributor Author

nreese commented Oct 31, 2019

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Bargs
Copy link
Contributor

Bargs commented Oct 31, 2019

Thanks @nreese , sorry I got it mixed up

@nreese
Copy link
Contributor Author

nreese commented Oct 31, 2019

Thanks @nreese , sorry I got it mixed up

No problem. There were no tests so it was easy to do.

Great to nested object support in KQL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:fix v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants