From c9d55f3c77b8d7de8eb1c15e88a380297e32f8f7 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 20 Oct 2022 11:51:03 +0200 Subject: [PATCH] Update BetterSearchPage.plugin.js --- Plugins/BetterSearchPage/BetterSearchPage.plugin.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Plugins/BetterSearchPage/BetterSearchPage.plugin.js b/Plugins/BetterSearchPage/BetterSearchPage.plugin.js index 4cdf3cfcb8..abac5f9c30 100644 --- a/Plugins/BetterSearchPage/BetterSearchPage.plugin.js +++ b/Plugins/BetterSearchPage/BetterSearchPage.plugin.js @@ -108,7 +108,6 @@ module.exports = (_ => { processSearchResultsInner (e) { if (!e.instance.props.search) return; let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "SearchResultsPagination"}); - console.log(children, index); if (index == -1) return; let currentPage = parseInt(Math.floor(e.instance.props.search.offset / BDFDB.DiscordConstants.SEARCH_PAGE_SIZE)) + 1; let maxPage = e.instance.props.search.totalResults > 5000 ? parseInt(Math.ceil(5000 / BDFDB.DiscordConstants.SEARCH_PAGE_SIZE)) : parseInt(Math.ceil(e.instance.props.search.totalResults / BDFDB.DiscordConstants.SEARCH_PAGE_SIZE));