When I search for customers in the Admin Customer User area, the
search result returns all objects in the directory including users AND
COMPUTERS (as denoted by the ending $ sign). So, if I search for
"br", I might get something like this:
abreton ......
abreton$
bruiser$
brownie$
brentk .......
brinkley .........
The names without a $ are all valid users, but the ones that end with
a $ are computer objects and do nothing other than clutter up the view
of what I am really interested in looking at.
I developed a patch that will exclude computer objects from being
displayed. Please consider this for inclusion. You can find it
attached as a diff file.
Thanks,
Tyler Hepworth
Index: Kernel/Modules/AdminCustomerUser.pm
===================================================================
--- Kernel/Modules/AdminCustomerUser.pm (revision 15)
+++ Kernel/Modules/AdminCustomerUser.pm (working copy)
@@ -98,6 +98,7 @@
my $Link = '';
if (%UserList) {
foreach (sort keys %UserList) {
+ next if $_ =~ /\$$/;
my $AddLink = '';
if ($Nav eq 'None') {
$AddLink = "<a href=\"\" onclick=\"updateMessage('$_')\">\$Text{\"Take this Customer\"}</a>";
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev