-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Team:GeoFormer Team Label for Geo Team. Now use Team:PresentationFormer Team Label for Geo Team. Now use Team:PresentationbugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experience
Description
Steps to reproduce:
- Create map with single document layer from web logs.
- Open web browser developer tools network tab and clear requests.
- Create a filter pill.
- Notice how 2 ES requests are made.
The problem occurs in because setQuery is getting called twice in map controller
- Once in the
on-filters-updatedcallback for SearchBar, https://github.com/elastic/kibana/blob/7.6/x-pack/legacy/plugins/maps/public/angular/map_controller.js#L245 - Again, in the listener when app_state changes https://github.com/elastic/kibana/blob/7.6/x-pack/legacy/plugins/maps/public/angular/map_controller.js#L95
Vector layer canSkipSourceUpdate does not catch the double request because of the await. Both requests check for changes from the same data request meta.
Metadata
Metadata
Assignees
Labels
Team:GeoFormer Team Label for Geo Team. Now use Team:PresentationFormer Team Label for Geo Team. Now use Team:PresentationbugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experience

