I'm working on 3.3.8.
When you click on Customers, the Search textbox is already filled with *, and thus the list of customers automatically appears.
I wish the same with Companies, I added a code in Kernel\Modules\AdminCustomerCompany.pm but it doesn't work.
This is the code :
Code: Select all
sub Run {
my ( $Self, %Param ) = @_;
my $Nav = $Self->{ParamObject}->GetParam( Param => 'Nav' ) || 0;
my $NavigationBarType = $Nav eq 'Agent' ? 'Companies' : 'Admin';
my $Search = $Self->{ParamObject}->GetParam( Param => 'Search' );
$Search
||= $Self->{ConfigObject}->Get('AdminCustomerCompany::RunInitialWildcardSearch') ? '*' : '';
Thomas