Skip to content

Fix blank index pattern selector in Discover#13715

Merged
Bargs merged 1 commit intoelastic:masterfrom
Bargs:fixEmptyIndexSelector
Aug 28, 2017
Merged

Fix blank index pattern selector in Discover#13715
Bargs merged 1 commit intoelastic:masterfrom
Bargs:fixEmptyIndexSelector

Conversation

@Bargs
Copy link
Contributor

@Bargs Bargs commented Aug 25, 2017

ui-select-match's expression was expecting an IndexPattern object, but
the indexPatternList passed to ui-select-choices contained SavedObject
instances due to the SavedObjectsClient refactor. This wasn't a
problem most of the time because switching index patterns caused the
entire directive to get destroyed and re-created. However, when the
directive didn't get re-created (for example, when clicking the already
selected pattern) it would result in a blank select box.

Fixes #13080

ui-select-match's expression was expecting an IndexPattern object, but
the indexPatternList passed to ui-select-choices contained SavedObject
instances due to the [SavedObjectsClient refactor][1]. This wasn't a
problem most of the time because switching index patterns caused the
entire directive to get destroyed and re-created. However, when the
directive didn't get re-created (for example, when clicking the already
selected pattern) it would result in a blank select box.

Fixes elastic#13080

[1]: elastic#12719
@Bargs Bargs merged commit f1ac9e3 into elastic:master Aug 28, 2017
Bargs added a commit that referenced this pull request Aug 28, 2017
ui-select-match's expression was expecting an IndexPattern object, but
the indexPatternList passed to ui-select-choices contained SavedObject
instances due to the [SavedObjectsClient refactor][1]. This wasn't a
problem most of the time because switching index patterns caused the
entire directive to get destroyed and re-created. However, when the
directive didn't get re-created (for example, when clicking the already
selected pattern) it would result in a blank select box.

Fixes #13080

[1]: #12719
Bargs added a commit that referenced this pull request Aug 28, 2017
ui-select-match's expression was expecting an IndexPattern object, but
the indexPatternList passed to ui-select-choices contained SavedObject
instances due to the [SavedObjectsClient refactor][1]. This wasn't a
problem most of the time because switching index patterns caused the
entire directive to get destroyed and re-created. However, when the
directive didn't get re-created (for example, when clicking the already
selected pattern) it would result in a blank select box.

Fixes #13080

[1]: #12719
Bargs added a commit that referenced this pull request Aug 28, 2017
ui-select-match's expression was expecting an IndexPattern object, but
the indexPatternList passed to ui-select-choices contained SavedObject
instances due to the [SavedObjectsClient refactor][1]. This wasn't a
problem most of the time because switching index patterns caused the
entire directive to get destroyed and re-created. However, when the
directive didn't get re-created (for example, when clicking the already
selected pattern) it would result in a blank select box.

Fixes #13080

[1]: #12719
@Bargs
Copy link
Contributor Author

Bargs commented Aug 28, 2017

6.x: c11cd49
6.0: a33819e
5.6: cdafaad

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.

3 participants