Skip to content

Commit

Permalink
Update search settings
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r committed Dec 31, 2024
1 parent e160832 commit fb080a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ export const fetchAlgoliaData = async <T>(
const { results } = await client.search({
requests: [
{
indexName: `${NEST_ENV}_${indexName}`,
query,
attributesToHighlight: [],
hitsPerPage: 25,
indexName: `${NEST_ENV}_${indexName}`,
page: currentPage - 1,
attributesToHighlight: [],
query: query,
removeWordsIfNoResults: 'allOptional',
...params,
},
],
Expand Down

0 comments on commit fb080a4

Please sign in to comment.