fix: search pagination (#5548)
This commit is contained in:
@@ -440,7 +440,10 @@ async function refreshSearch() {
|
|||||||
hitCount: rawResults.result.hits.length,
|
hitCount: rawResults.result.hits.length,
|
||||||
totalHits: rawResults.result.total_hits,
|
totalHits: rawResults.result.total_hits,
|
||||||
})
|
})
|
||||||
results.value = rawResults.result
|
results.value = {
|
||||||
|
...rawResults.result,
|
||||||
|
hits_per_page: maxResults.value,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const currentFilterState = JSON.stringify({
|
const currentFilterState = JSON.stringify({
|
||||||
|
|||||||
Reference in New Issue
Block a user