mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
This commit is contained in:
parent
a7685a6861
commit
84311624bc
1 changed files with 3 additions and 1 deletions
|
@ -688,7 +688,9 @@ function discoverController(
|
|||
$scope.$watch('state.query', (newQuery, oldQuery) => {
|
||||
if (!_.isEqual(newQuery, oldQuery)) {
|
||||
const query = migrateLegacyQuery(newQuery);
|
||||
$scope.updateQueryAndFetch({ query });
|
||||
if (!_.isEqual(query, newQuery)) {
|
||||
$scope.updateQueryAndFetch({ query });
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue