mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
preserve the query string in the searchSource, if it exists
This commit is contained in:
parent
bccec3d8e3
commit
1b3a385232
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ define(function (require) {
|
|||
var $state = (function initState() {
|
||||
var savedVisState = vis.getState();
|
||||
var stateDefaults = {
|
||||
query: {query_string: {query: '*'}},
|
||||
query: searchSource.get('query') || {query_string: {query: '*'}},
|
||||
vis: savedVisState
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue