NAME
Kernel::WebApp::Util::BusinessCard::Role::ProvidesCustomerData – Handles the customer and customer user 'Get' endpoints.
_AttributeToFilter()
Parse the attributes and generate TicketSearch compatible filter values out of them. The string will be broken apart by semicolon, equal signs and commata
, whereby the resulting key-value-pairs will be unified and passed to corresponding array references.
my $Filters = $Self->_AttributeToFilter('Queues=Misc,Raw;Locks=unlock;Queues=Junk,Postmaster;Queues=Misc,Raw');
Returns
{
'Queues' => [
'Misc',
'Raw',
'Junk',
'Postmaster',
],
'Locks' => [
'unlock',
],
}