fix(app-frontend): clamp current page in searches to the max possible (#3869)

This commit is contained in:
Alejandro González
2025-06-30 16:12:24 +02:00
committed by GitHub
parent 8971d39683
commit bcec478a64

View File

@@ -220,6 +220,7 @@ async function refreshSearch() {
}
}
results.value = rawResults.result
currentPage.value = Math.min(pageCount.value, currentPage.value)
const persistentParams: LocationQuery = {}