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

search: Ensure search on ticket number honors visibility

parent ba348abc
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,7 @@ class TicketsAjaxAPI extends AjaxController {
'tickets' => new SqlCode('1'),
'__relevance__' => new SqlCode(1)
))
->filter($visibility)
->filter(array('number__startswith' => $q))
->limit($limit)
->union($hits);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment