diff --git a/src/core_plugins/kibana/public/visualize/editor/editor.html b/src/core_plugins/kibana/public/visualize/editor/editor.html
index 3193ea41387d3..f49f046a7954a 100644
--- a/src/core_plugins/kibana/public/visualize/editor/editor.html
+++ b/src/core_plugins/kibana/public/visualize/editor/editor.html
@@ -18,7 +18,6 @@
ng-show="chrome.getVisible()"
class="fullWidth"
>
-
Linked to Saved Search “{{ savedVis.savedSearch.title }}”
@@ -31,8 +30,7 @@
-
-
+
diff --git a/src/core_plugins/kibana/public/visualize/editor/editor.js b/src/core_plugins/kibana/public/visualize/editor/editor.js
index 9436924445a62..997e913c80865 100644
--- a/src/core_plugins/kibana/public/visualize/editor/editor.js
+++ b/src/core_plugins/kibana/public/visualize/editor/editor.js
@@ -297,9 +297,9 @@ function VisEditor($scope, $route, timefilter, AppState, $window, kbnUrl, courie
delete savedVis.savedSearchId;
parent.set('filter', _.union(searchSource.getOwn('filter'), parent.getOwn('filter')));
- // copy over all state except "aggs" and filter, which is already copied
+ // copy over all state except "aggs", "query" and "filter"
_(parent.toJSON())
- .omit('aggs')
+ .omit(['aggs', 'filter', 'query'])
.forOwn(function (val, key) {
searchSource.set(key, val);
})
@@ -308,6 +308,8 @@ function VisEditor($scope, $route, timefilter, AppState, $window, kbnUrl, courie
$state.query = searchSource.get('query');
$state.filters = searchSource.get('filter');
searchSource.inherits(parentsParent);
+
+ $scope.fetch();
};
init();
diff --git a/src/ui/public/vis/request_handlers/courier.js b/src/ui/public/vis/request_handlers/courier.js
index 2d79342d3dd3a..77813ab905ac9 100644
--- a/src/ui/public/vis/request_handlers/courier.js
+++ b/src/ui/public/vis/request_handlers/courier.js
@@ -10,9 +10,7 @@ const CourierRequestHandlerProvider = function (Private, courier, timefilter) {
if (queryFilter && vis.editorMode) {
searchSource.set('filter', queryFilter.getFilters());
- if (!appState.linked) {
- searchSource.set('query', appState.query);
- }
+ searchSource.set('query', appState.query);
}
const shouldQuery = () => {
diff --git a/ui_framework/components/local_nav/_local_nav.scss b/ui_framework/components/local_nav/_local_nav.scss
index a7af85e3d2492..ddd763b1876fa 100644
--- a/ui_framework/components/local_nav/_local_nav.scss
+++ b/ui_framework/components/local_nav/_local_nav.scss
@@ -43,7 +43,6 @@
* of this container using padding.
*/
.kuiLocalNavRow--secondary {
- height: 40px; /* 1 */
- padding: 0 $localNavSideSpacing 0; /* 1 */
+ padding: 0 $localNavSideSpacing 10px; /* 1 */
align-items: flex-start; /* 1 */
}
diff --git a/ui_framework/dist/ui_framework.css b/ui_framework/dist/ui_framework.css
index 102db7bbadd28..ff3b64d1c49f5 100644
--- a/ui_framework/dist/ui_framework.css
+++ b/ui_framework/dist/ui_framework.css
@@ -2065,9 +2065,7 @@ main {
* of this container using padding.
*/
.kuiLocalNavRow--secondary {
- height: 40px;
- /* 1 */
- padding: 0 10px 0;
+ padding: 0 10px 10px;
/* 1 */
-webkit-box-align: start;
-webkit-align-items: flex-start;