From ef9d77fe4d49a4cd9aa0dd8a8bfb71e14a001b92 Mon Sep 17 00:00:00 2001 From: wei-kuochen Date: Thu, 28 Mar 2024 16:31:06 +0900 Subject: [PATCH] weko#41944 fix url param issue --- modules/weko-theme/weko_theme/static/js/weko_theme/top_page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/weko-theme/weko_theme/static/js/weko_theme/top_page.js b/modules/weko-theme/weko_theme/static/js/weko_theme/top_page.js index 4e5b87531b..f3eca799fa 100644 --- a/modules/weko-theme/weko_theme/static/js/weko_theme/top_page.js +++ b/modules/weko-theme/weko_theme/static/js/weko_theme/top_page.js @@ -175,7 +175,7 @@ require([ key_sort = "-" + key_sort; } - if (!window.location.search.includes(key_sort)) { + if (!search.includes("sort")) { search = insertParam(search, "sort", key_sort); }