Skip to content

Commit 336d2b6

Browse files
committed
Add small offset for related item fetching
1 parent efee462 commit 336d2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/result/GenericResultView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export function GenericResultView({
235235
const fetchRelatedItems = useCallback(
236236
async (term: string, amount: number) => {
237237
const search = await elasticConnector?.onSearch(
238-
{ searchTerm: term, resultsPerPage: amount },
238+
{ searchTerm: term, resultsPerPage: amount + 5 },
239239
{
240240
result_fields: {},
241241
searchTerm: term,

0 commit comments

Comments
 (0)