-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Maps] only provide visiblity check when vector layer has joins #51388
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
Conversation
|
Pinging @elastic/kibana-gis (Team:Geo) |
💚 Build Succeeded |
💚 Build Succeeded |
|
@elasticmachine merge upstream |
💚 Build Succeeded |
thomasneirynck
left a comment
There was a problem hiding this 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__
x-pack/legacy/plugins/maps/public/layers/util/mb_filter_expressions.js
Outdated
Show resolved
Hide resolved
💚 Build Succeeded |
💚 Build Succeeded |
…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
…) (#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
fixes #51313
This PR only adds
__kbn__isvisible__check to filter expression when the vector layer is using joins.