From 2320526f74b98eeb64c86c0c4a9c7e5a6dd9c3d0 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 28 Jun 2021 17:42:05 +0530 Subject: [PATCH] fix fixed issue with browse not showing more than 1 page --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 7f9b77a..d23165b 100644 --- a/index.html +++ b/index.html @@ -1106,7 +1106,7 @@ } async function showCategoryTorrents(category) { - const result = await getFilteredTorrents(['type'], category, {limit: 20}) + const result = await getFilteredTorrents(['type'], category) getRef('browser_category_torrents').innerHTML = `` getRef('page_selector').innerHTML = '' @@ -1251,7 +1251,7 @@ }, 200); }) getRef('search_page_selector').addEventListener('change', async e => { - const result = await getFilteredTorrents(['name', 'filename', 'tags'], lastQuery, {limit: 20}) + const result = await getFilteredTorrents(['name', 'filename', 'tags'], lastQuery) const startIndex = parseInt(e.detail.value) * 20 const endIndex = ((parseInt(e.detail.value) * 20) + 30) < result.length ? (parseInt(e.detail.value) * 20) + 20 : result.length