diff --git a/frontend/src/routes/Search.svelte b/frontend/src/routes/Search.svelte index ccabe42..a7b884a 100644 --- a/frontend/src/routes/Search.svelte +++ b/frontend/src/routes/Search.svelte @@ -53,6 +53,10 @@ proteinEntries = result.proteinEntries; totalFound = result.totalFound; } + async function searchAndResetPage() { + page = 0; + await search(); + } async function resetFilter() { speciesFilter = undefined; lengthFilter = lengthExtent; @@ -133,7 +137,7 @@
-