From 8053d3a25518ed8af56d48dbb86615404ec9bff9 Mon Sep 17 00:00:00 2001 From: Brandon Farmer Date: Wed, 16 Jan 2019 14:39:39 -0800 Subject: [PATCH] Fix incorrect meta query --- ui/src/shared/apis/v2/queryBuilder.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/shared/apis/v2/queryBuilder.ts b/ui/src/shared/apis/v2/queryBuilder.ts index 3f0f5666a9..9480624821 100644 --- a/ui/src/shared/apis/v2/queryBuilder.ts +++ b/ui/src/shared/apis/v2/queryBuilder.ts @@ -43,9 +43,9 @@ async function findKeys( |> distinct() |> keep(columns: ["_value"])${searchFilter}${previousKeyFilter} |> filter(fn: (r) => - r._value != "_time" or - r._value != "_start" or - r._value != "_stop" or + r._value != "_time" and + r._value != "_start" and + r._value != "_stop" and r._value != "_value") |> sort() |> limit(n: ${LIMIT})`