Skip to content

Commit

Permalink
set sql ilike operator as default
Browse files Browse the repository at this point in the history
  • Loading branch information
baloola committed Feb 23, 2024
1 parent d1046b9 commit 1b11711
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/SearchFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -489,7 +490,7 @@ export default {
additionalFieldSelected(queryable) {
this.filters.push({
value: CqlValue.create(queryable.defaultValue),
operator: CqlEqual,
operator: CqlILike,
queryable
});
},
Expand Down

0 comments on commit 1b11711

Please sign in to comment.