I don't know how to explain it better, so just try this to reproduce the issue and it will be clear:
1) Create a group with a lot of users in it (for instance 20).
2) Set notifications_team to change from checkbox to select when the group is bigger than 15 people.
3) Post a message to the group and try to add 19 members to the dropdown.
So summarizing: When the notifications change to a "select" (dropdown instead of checkboxes), if you select for instance 10 usernames (more than a line) the next username is not shown in the dropdown... so you don't know who are you adding to the list.
I'm trying to fix this adding the users to the begging of the dropdown instead of the end... or better than this, let the dropdown show just one username by value instead of the long list with the former ones.
Sorry for the wired explanation... as you will notice, English is not my mother tongue.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | notifications_team.module.patch | 579 bytes | mbria |
Comments
Comment #1
mbria commentedOk. I finally found the solution.
Version: 6.x-2.1-beta8
File: notifications_team.module
Line: 775.
Fixing: Remove $prefix variable from $matches at the autocomplete function.
Result: The drop down just show one user, so you can add as many users as you like.
Sorry, but now I can't submit a patch.
Comment #2
mbria commentedHere it is the patch.
Please, take in consideration for next release.
Thanks a lot for the great module,
m.
Comment #3
David Goode commentedHey, thanks for the patch, sorry for the delay but I'll test and probably commit this shortly in some form or another.
David
Comment #4
David Goode commentedCommitted; seems more standard to do it this way anyway. Thanks.
David