From 3e9b0a729b0fcbfa3f8c5b34484d34f849246ae7 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Tue, 21 Jun 2022 09:41:08 +0100 Subject: [PATCH] prettier --- packages/frontend-core/src/utils/lucene.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/frontend-core/src/utils/lucene.js b/packages/frontend-core/src/utils/lucene.js index 616b11b410..8f59a2bd9d 100644 --- a/packages/frontend-core/src/utils/lucene.js +++ b/packages/frontend-core/src/utils/lucene.js @@ -107,11 +107,9 @@ export const buildLuceneQuery = filter => { } if (operator.startsWith("range")) { const minint = - SqlNumberTypeRangeMap[externalType]?.min || - Number.MIN_SAFE_INTEGER + SqlNumberTypeRangeMap[externalType]?.min || Number.MIN_SAFE_INTEGER const maxint = - SqlNumberTypeRangeMap[externalType]?.max || - Number.MAX_SAFE_INTEGER + SqlNumberTypeRangeMap[externalType]?.max || Number.MAX_SAFE_INTEGER if (!query.range[field]) { query.range[field] = { low: type === "number" ? minint : "0000-00-00T00:00:00.000Z",