Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
ebec02ff
Commit
ebec02ff
authored
Dec 09, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style(elastic): minor code style changes
parent
99c5f7d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
public/app/plugins/datasource/elasticsearch/query_builder.js
+2
-7
No files found.
public/app/plugins/datasource/elasticsearch/query_builder.js
View file @
ebec02ff
...
...
@@ -70,7 +70,6 @@ function (queryDef) {
ElasticQueryBuilder
.
prototype
.
getFiltersAgg
=
function
(
aggDef
)
{
var
filterObj
=
{};
for
(
var
i
=
0
;
i
<
aggDef
.
settings
.
filters
.
length
;
i
++
)
{
var
query
=
aggDef
.
settings
.
filters
[
i
].
query
;
...
...
@@ -106,7 +105,6 @@ function (queryDef) {
}
var
i
,
filter
,
condition
;
for
(
i
=
0
;
i
<
adhocFilters
.
length
;
i
++
)
{
filter
=
adhocFilters
[
i
];
condition
=
{};
...
...
@@ -123,8 +121,7 @@ function (queryDef) {
target
.
timeField
=
this
.
timeField
;
var
i
,
nestedAggs
,
metric
;
var
query
=
{};
query
=
{
var
query
=
{
"size"
:
0
,
"query"
:
{
"bool"
:
{
...
...
@@ -216,9 +213,7 @@ function (queryDef) {
};
ElasticQueryBuilder
.
prototype
.
getTermsQuery
=
function
(
queryDef
)
{
var
query
;
query
=
{
var
query
=
{
"size"
:
0
,
"query"
:
{
"bool"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment