Skip to content

Commit

Permalink
Reduce search results to 30 (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro authored Aug 1, 2024
1 parent d615c28 commit 824eda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export async function searchItemsV2(
sheets: 'Item',
query: `Name~"${query}" ItemSearchCategory>=1`,
language: lang,
limit: '100',
limit: '30',
// LevelItem.todo is a nonexistent field, but using that causes an empty fields
// property to be returned, which is useful for reducing the response size.
// TODO: use @raw once it exists
Expand Down

0 comments on commit 824eda1

Please sign in to comment.