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

Commit b306656

Browse files
Merge pull request #83 from SURFnet/fix-searching-for-groups-in-add-mebers-screen
Fix searching for groups in add members from group screen
2 parents 34e9a95 + e9c41cf commit b306656

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)