Skip to content

Commit

Permalink
Rename all occurrences
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Aug 29, 2017
1 parent 9c27c33 commit ef09fa0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/core_plugins/kibana/public/dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<query-bar
query="model.query"
app-name="'dashboard'"
on-submit="updateQuery($query)"
on-submit="updateQueryAndFetch($query)"
>
</query-bar>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/core_plugins/kibana/public/dashboard/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ app.directive('dashboardApp', function ($injector) {
$scope.indexPatterns = dashboardState.getPanelIndexPatterns();
};

$scope.$watch('model.query', $scope.updateQuery);
$scope.$watch('model.query', $scope.updateQueryAndFetch);

$scope.$watchCollection(() => dashboardState.getAppState().$newFilters, function (filters = []) {
// need to convert filters generated from user interaction with viz into kuery AST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ function discoverController(
}
});

$scope.$watch('state.query', $scope.updateQuery);
$scope.$watch('state.query', $scope.updateQueryAndFetch);

$scope.$watchMulti([
'rows',
Expand Down
2 changes: 1 addition & 1 deletion src/core_plugins/kibana/public/discover/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1 tabindex="0" id="kui_local_breadcrumb" class="kuiLocalBreadcrumb">
<query-bar
query="state.query"
app-name="'discover'"
on-submit="updateQuery($query)"
on-submit="updateQueryAndFetch($query)"
>
</query-bar>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<query-bar
query="state.query"
app-name="'visualize'"
on-submit="updateQuery($query)"
on-submit="updateQueryAndFetch($query)"
disable-auto-focus="true"
>
</query-bar>
Expand Down
2 changes: 1 addition & 1 deletion src/core_plugins/kibana/public/visualize/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function VisEditor($scope, $route, timefilter, AppState, $window, kbnUrl, courie
.then($scope.fetch);
});

$scope.$watch('state.query', $scope.updateQuery);
$scope.$watch('state.query', $scope.updateQueryAndFetch);

$state.replace();

Expand Down

0 comments on commit ef09fa0

Please sign in to comment.