Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit c69361f

Browse files
committed
Update scripts.js to have new member search url
1 parent 251e8c8 commit c69361f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/scripts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ var app = {
274274
return;
275275
}
276276
if ($('#searchTypeName').text()=='Site'){
277-
window.location.replace("/search?s="+keyword);
277+
window.location.replace("/search/members/?q=" + window.encodeURIComponent(keyword));
278278
}else if ($('#searchTypeName').text()=='Members'){
279-
window.location.replace("/search?s="+keyword+"&scope=member");
279+
window.location.replace("/search/members/?q=" + window.encodeURIComponent(keyword));
280280
}
281281
},
282282
setLoading: function() {

0 commit comments

Comments
 (0)