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

Commit a68e526

Browse files
committed
Merge pull request #256 from appirio-tech/release
Release
2 parents fe5ea42 + c69361f commit a68e526

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/footer.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,6 @@ <h2>Comment Examples</h2>
236236

237237
vm.checkSubmit = function(ev) {
238238
if (ev.keyCode === 13)
239-
// window.location.replace(tcconfig.mainURL + '/search?s=' + vm.searchTerm + '&scope=member');
240-
241239
window.location.replace(tcconfig.mainURL + '/search/members/?q=' + window.encodeURIComponent(vm.searchTerm));
242240
}
243241

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() {

wp/wp-content/themes/tcs-responsive/footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function _kms(u){
317317

318318
vm.checkSubmit = function(ev) {
319319
if (ev.keyCode === 13)
320-
window.location.replace(tcconfig.mainURL + '/search?s=' + vm.searchTerm + '&scope=member');
320+
window.location.replace(tcconfig.mainURL + '/search/members/?q=' + window.encodeURIComponent(vm.searchTerm));
321321
}
322322

323323
vm.isActive = function(href) {

0 commit comments

Comments
 (0)