fixes #21
* sort and unify group lists at display and save time * autocompletion only yields groups that are not assigned yet
This commit is contained in:
parent
0993d2be3a
commit
b415533dd5
3 changed files with 9 additions and 4 deletions
|
@ -52,7 +52,8 @@ function getGroups($part) {
|
|||
foreach ($groups as $line) {
|
||||
list($group, $users) = explode(":", $line);
|
||||
$group = trim($group);
|
||||
if (stripos($group, $last_string) === 0) {
|
||||
if (!in_array($group, $array) &&
|
||||
(stripos($group, $last_string) === 0)) {
|
||||
$retval[$prefix . $group] = $group;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue