Skip to content

Commit

Permalink
visualize should apply saved query and filters
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Jul 13, 2017
1 parent 2a4e648 commit 9769cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/vis/request_handlers/courier.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const CourierRequestHandlerProvider = function (Private, courier, timefilter) {
return {
name: 'courier',
handler: function (vis, appState, uiState, searchSource) {
if (appState) {
if (appState && vis.editorMode) {
searchSource.set('filter', appState.filters);
if (!appState.linked) searchSource.set('query', appState.query);
}
Expand Down

0 comments on commit 9769cbe

Please sign in to comment.