diff --git a/public/themes/dist_static/static/js/download.js b/public/themes/dist_static/static/js/download.js index 248e195..e296141 100644 --- a/public/themes/dist_static/static/js/download.js +++ b/public/themes/dist_static/static/js/download.js @@ -70,13 +70,13 @@ $(function() { const params = new URLSearchParams(); const keywords = $(this).find('[name="keywords"]').val().trim(); const tabId = getActiveTabId(); - if (tabId) params.set("tab", tabId); + if (tabId) params.set("cid", tabId); if (keywords) params.set("keywords", keywords); const query = params.toString(); window.location.href = query ? `${window.location.pathname}?${query}` : window.location.pathname; }); const searchParams = new URLSearchParams(window.location.search); - const tabParam = searchParams.get("tab"); + const tabParam = searchParams.get("cid"); const keywordsParam = searchParams.get("keywords"); if (keywordsParam) $("[data-download-search] [name='keywords']").val(keywordsParam); if (tabParam) activateTabById(tabParam);