Skip to content

Conversation

@nreese
Copy link
Contributor

@nreese nreese commented Nov 21, 2019

fixes #51313

This PR only adds __kbn__isvisible__ check to filter expression when the vector layer is using joins.

@nreese nreese added release_note:fix Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 v7.6.0 labels Nov 21, 2019
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@nreese
Copy link
Contributor Author

nreese commented Nov 25, 2019

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

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

Thx, ends up being pretty simple now, by just creating two filter-clauses there's no need to create two code-paths between join/no-join.

Minor: consider renaming the system-property to something more explicit. e.g. __kbn_isvisibleduetojoin__

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@nreese nreese merged commit d158fd8 into elastic:master Nov 26, 2019
nreese added a commit to nreese/kibana that referenced this pull request Nov 26, 2019
…tic#51388)

* [Maps] only provide visiblity check when vector layer has joins

* clean up

* properly set line filter expression

* use ternary statements instead of if

* review feedback
nreese added a commit that referenced this pull request Nov 26, 2019
…) (#51686)

* [Maps] only provide visiblity check when vector layer has joins

* clean up

* properly set line filter expression

* use ternary statements instead of if

* review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:fix Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v7.6.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Maps] feature visibility is not updated when joins are deleted

3 participants