Skip to content
Snippets Groups Projects
Commit 2275fb75 authored by Jared Hancock's avatar Jared Hancock
Browse files

client: Avoid duplicate tickets due to collaborator

parent e41bf049
No related branches found
No related tags found
No related merge requests found
......@@ -95,10 +95,12 @@ if ($settings['keywords']) {
$tickets->filter(array('number__startswith'=>$q));
} else { //Deep search!
// Use the search engine to perform the search
$tickets = $ost->searcher->find($q, $tickets)->distinct('ticket_id');
$tickets = $ost->searcher->find($q, $tickets);
}
}
$tickets->distinct('ticket_id');
TicketForm::ensureDynamicDataView();
$total=$tickets->count();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment