From 0540bad3fd6808c36fbe52f2cd5b85d5c4c5dc58 Mon Sep 17 00:00:00 2001 From: mihaisc Date: Wed, 28 Oct 2020 13:33:53 +0200 Subject: [PATCH] correct number of items on page Signed-off-by: mihaisc --- src/components/templates/Search/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/templates/Search/utils.ts b/src/components/templates/Search/utils.ts index 25f5a98d0..5515d4eb2 100644 --- a/src/components/templates/Search/utils.ts +++ b/src/components/templates/Search/utils.ts @@ -13,7 +13,7 @@ export function getSearchQuery( ): SearchQuery { return { page: Number(page) || 1, - offset: Number(offset) || 20, + offset: Number(offset) || 21, query: { text, tags: tags ? [tags] : undefined,