core icon indicating copy to clipboard operation
core copied to clipboard

Sharing dialog doesn't search for users

Open jirikmik opened this issue 13 years ago • 4 comments

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);

jirikmik avatar Oct 06 '13 22:10 jirikmik

Thx for the fix, works for me!

Link to corresponding line in Release 5.12.

webwurst avatar Oct 07 '13 09:10 webwurst

What do you think @blizzz @schiesbn

karlitschek avatar Oct 07 '13 09:10 karlitschek

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)

schiessle avatar Oct 08 '13 15:10 schiessle

will be released with the next bug-fix release.

5.0.13

DeepDiver1975 avatar Oct 08 '13 15:10 DeepDiver1975