115-filter_email_lookup.patch
b/modules/support/kayako/supporttickets.php | ||
---|---|---|
82 | 82 | |
83 | 83 |
$_orderByFunction = orderBy . $_sortBy; |
84 | 84 | |
85 |
$_ticketObjectContainer = kyTicket::getAll($_departmentObjectContainer, $_ticketStatusObjectContainer) |
|
86 |
->filterByEmail($clientsdetails['email']) |
|
85 |
// Get a list of kyUser by email to filter at time of request. |
|
86 |
$filter_users = kyUser::search($clientsdetails['email']); |
|
87 | ||
88 |
$_ticketObjectContainer = kyTicket::getAll($_departmentObjectContainer, $_ticketStatusObjectContainer, array(), $filter_users) |
|
87 | 89 |
-> $_orderByFunction($_order); |
88 | 90 | |
89 | 91 |
$_ticketContainer = array(); |