bugfix: pagination works again

This commit is contained in:
J-Klinke 2024-07-06 20:04:39 +02:00
parent e8de33cdcb
commit 9a6260d1bd

View File

@ -9,7 +9,7 @@ export async function fetchQuery(fetchString, clearResults) {
const data = await response.json();
parseContent(data.content, clearResults);
lastQuery.totalPages = data.totalPages;
lastQuery.totalPages = data.page.totalPages;
if (clearResults) {
lastQuery.currentPage = 0;
}