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

Commit e9c41cf

Browse files
Fix searching for groups in add members from group screen
1 parent a2ec6d9 commit e9c41cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var grouphub = (function ($) {
3030
$searchResults = $searchContainer.next('ul');
3131

3232
var url = $searchResults.data('url');
33-
var type = $searchContainer.find("input[name='search-type']:checked").val();
33+
var type = $searchContainer.find("select[name=search-type]").val();
3434
if (type === 'group') {
3535
url = url.replace('users', 'groups');
3636
}

0 commit comments

Comments
 (0)