From 1b1171165ebb700d12dcb5543fd31de344cd3f54 Mon Sep 17 00:00:00 2001 From: baloola Date: Fri, 23 Feb 2024 16:04:02 +0100 Subject: [PATCH] set sql ilike operator as default --- src/components/SearchFilter.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SearchFilter.vue b/src/components/SearchFilter.vue index ee2a440..2fe467a 100644 --- a/src/components/SearchFilter.vue +++ b/src/components/SearchFilter.vue @@ -136,6 +136,7 @@ import Queryable from '../models/cql2/queryable'; import CqlValue from '../models/cql2/value'; import CqlLogicalOperator from '../models/cql2/operators/logical'; import { CqlEqual } from '../models/cql2/operators/comparison'; +import { CqlILike } from '../models/cql2/operators/advanced'; import { stacRequest } from '../store/utils'; function getQueryDefaults() { @@ -489,7 +490,7 @@ export default { additionalFieldSelected(queryable) { this.filters.push({ value: CqlValue.create(queryable.defaultValue), - operator: CqlEqual, + operator: CqlILike, queryable }); },