TT#36224 Fix showing loc entries when ignore realm

Change-Id: I4b872455d971a38dda7bb594367982ae72699e7b
changes/48/21148/2
Andreas Granig 7 years ago
parent 135404a439
commit 54a5627c72

@ -97,6 +97,10 @@ sub search {
push @{ $new_rs->_rows },
@{ $new_rs->_rows_from_mapkey("location:usrdom::" .
$filter->{username} . ":" . $filter->{domain}, $filter) };
} elsif ($filter->{username}) {
push @{ $new_rs->_rows },
@{ $new_rs->_rows_from_mapkey("location:usrdom::" .
$filter->{username}, $filter) };
} else {
$new_rs->_scan($filter);
}

Loading…
Cancel
Save