Skip to content

Commit

Permalink
add httpSerializer to Discover
Browse files Browse the repository at this point in the history
  • Loading branch information
Michail Yasonik committed Nov 25, 2019
1 parent 7abb1b1 commit 4b2c750
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
6 changes: 0 additions & 6 deletions src/legacy/core_plugins/kibana/public/discover/_discover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,6 @@ discover-app {

.dscTable {
overflow: auto;

// SASSTODO: add a monospace modifier to the doc-table component
.kbnDocTable__row {
font-family: $euiCodeFontFamily;
font-size: $euiFontSizeXS;
}
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ function discoverController(
$scope,
$timeout,
$window,
$httpParamSerializer,
AppState,
Private,
Promise,
Expand Down Expand Up @@ -1104,9 +1105,7 @@ function discoverController(
indexPattern: $scope.indexPattern.id,
});

// TODO should be $httpParaSerializer like in table_row.js
// const hash = $httpParamSerializer({
const hash = JSON.stringify({
const hash = $httpParamSerializer({
_a: rison.encode({
columns: $state.columns,
filters: ($scope.filters || []).map(esFilters.disableFilter),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* under the License.
*/
import { getServices, IndexPatterns } from '../kibana_services';
// @ts-ignore
import { getRootBreadcrumbs } from '../breadcrumbs';
import html from './doc.html';
import { Doc } from '../doc/doc';
Expand Down

0 comments on commit 4b2c750

Please sign in to comment.