Skip to content

Commit

Permalink
remove previous solution
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe committed Oct 26, 2023
1 parent c3f4c5e commit 00223a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/sensenet/src/services/search-query-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 00223a6

Please sign in to comment.