X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FHelpers%2FAutocomplete%2FGroups;h=1f4043fc657f676b7061b5117dcac916c2feac4c;hp=e8baf5397abb2272b6946c92ff6cb7bf98fa43b1;hb=919e930aa9279b3c5cd12b593889cd6de79d67bf;hpb=6587f6ba7d047ddc1686c080090afe7d53365bd4 diff --git a/rt/share/html/Helpers/Autocomplete/Groups b/rt/share/html/Helpers/Autocomplete/Groups index e8baf5397..1f4043fc6 100644 --- a/rt/share/html/Helpers/Autocomplete/Groups +++ b/rt/share/html/Helpers/Autocomplete/Groups @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -77,12 +77,12 @@ $groups->Limit( # Exclude groups we don't want foreach (split /\s*,\s*/, $exclude) { - $groups->Limit(FIELD => 'id', VALUE => $_, OPERATOR => '!='); + $groups->Limit(FIELD => 'id', VALUE => $_, OPERATOR => '!=', ENTRYAGGREGATOR => 'AND'); } my @suggestions; while ( my $group = $groups->Next ) { - push @suggestions, $group->Name; + push @suggestions, { label => $group->Name, value => $group->Name, id => $group->id }; }