Skip to content

[filterbar] Only warn about non-filterable field when it's actually being filtered by#6582

Merged
rashidkpc merged 2 commits intoelastic:masterfrom
spalger:fix/6573
Mar 25, 2016
Merged

[filterbar] Only warn about non-filterable field when it's actually being filtered by#6582
rashidkpc merged 2 commits intoelastic:masterfrom
spalger:fix/6573

Conversation

@spalger
Copy link
Copy Markdown
Contributor

@spalger spalger commented Mar 18, 2016

Fixes #6573

The vis legend currently simulates clicking adding a filter to the filter bar in order to tell if the field is filterable. When the field is not filterable it would add a warning to the notifier, which wasn't helpful (because the user hadn't actually tried to filter by it) and because the check for if something is filterable was being done in a watcher, causing an infinite digest loop.

To prevent this the warning is only logged when the event is not being simulated.

@spalger spalger changed the title Fix #6573 [filterbar] Only warn about non-filterable field when it's actually being filtered by Mar 18, 2016
@rashidkpc
Copy link
Copy Markdown
Contributor

This LGTM, merging.

@rashidkpc rashidkpc merged commit 1ab4aeb into elastic:master Mar 25, 2016
@spalger spalger deleted the fix/6573 branch October 18, 2019 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants