Added call to CustomerSearch to CustomerList command.

This commit is contained in:
OTOBO user 2023-05-28 14:25:25 +02:00
parent b13177af3e
commit be02d11c48
2 changed files with 6 additions and 1 deletions

View File

@ -68,7 +68,10 @@ sub Run {
my $CustomerUserObject = $Kernel::OM->Get('Kernel::System::CustomerUser');
my %CustomerUserList = $CustomerUserObject->CustomerSearch(
Source => $Self->GetOption('source'),
Search => '*',
Valid => 0,
Limit => 100, # TODO Think about useful limit -> ask kps
Source => $Self->GetOption('source') || '',
);
$Self->Print("<green>Done.</green>\n");

View File

@ -2,3 +2,5 @@
Custom Console Commands for OTOBO - intended to make their way into standard or die in silence.
Currently included are the following commands:
- Kernel/System/Console/Command/Admin/DynamicField/Add.pm
- Kernel/System/Console/Command/Admin/CustomerUser/List.pm