From 00223a668d53a052d0b7a7ab775237fd9043ccb5 Mon Sep 17 00:00:00 2001 From: vargajoe Date: Thu, 26 Oct 2023 10:23:25 +0200 Subject: [PATCH] remove previous solution --- apps/sensenet/src/services/search-query-builder.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/sensenet/src/services/search-query-builder.ts b/apps/sensenet/src/services/search-query-builder.ts index 506923a4f..9d5d5c8d5 100644 --- a/apps/sensenet/src/services/search-query-builder.ts +++ b/apps/sensenet/src/services/search-query-builder.ts @@ -7,7 +7,6 @@ interface CreateSearchQuery { } export const createSearchQuery = ({ term, filters }: CreateSearchQuery) => { - // const query = new Query((q) => q.query((q2) => q2.equals('Name', `*${term}*`).or.equals('DisplayName', `*${term}*`))) const query = new Query((q) => q.query((q2) => q2.explicitQuery(term))) if (filters.type.type) {