From 824eda1838912c4c1316ac8bce5820135b401a40 Mon Sep 17 00:00:00 2001 From: Kara <49822414+karashiiro@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:55:57 -0700 Subject: [PATCH] Reduce search results to 30 (#160) --- service/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/search.ts b/service/search.ts index d97d228..b41ab9c 100644 --- a/service/search.ts +++ b/service/search.ts @@ -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