Sharing dialog doesn't search for users
In case of using "Allow users to only share with users in their groups" sharing dialog shows only those users, where searching pattern matches for user and group together... For example for user John in TestGroup with pattern "o" it shows user and group, for pattern "h" nothing.
It would be solved by changing variable $groups to $usergroups at line 191 of core/ajax/share.php.
Resulting line 191:
$users = OC_Group::DisplayNamesInGroups($usergroups, $_GET['search'], $limit, $offset);
What do you think @blizzz @schiesbn
fixed for stable5, will be released with the next bug-fix release. I keep this issue open until the fix is also merged for master (oc6)
will be released with the next bug-fix release.
5.0.13