From bde346bfbeb7ff990e1a52ee88dac9405e22f8d4 Mon Sep 17 00:00:00 2001 From: Kestas Venslauskas Date: Mon, 8 Jul 2024 20:43:29 +0300 Subject: [PATCH] fix: extend search results to 50 --- app/api/Endpoints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/Endpoints.ts b/app/api/Endpoints.ts index 3687c7a..f522b7e 100644 --- a/app/api/Endpoints.ts +++ b/app/api/Endpoints.ts @@ -61,7 +61,7 @@ export const articlesGetByTag = (tag: string, count: number) => { * Return array of articles by search filter */ export const searchArticles = (query: string, filter: SearchFilter) => { - let url = `${BASE_URL}search?q=${query}&type=${filter.type}§ion=${filter.section}&days=${filter.days}`; + let url = `${BASE_URL}search?q=${query}&type=${filter.type}§ion=${filter.section}&days=${filter.days}&count=50`; if (filter.searchExactPhrase) { url += '&exact=1';