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

search: Auto redirect to ticket view on single hit searches

parent 5ee43e7d
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ case 'search':
}
if (count($tickets) == 1) {
// Redirect to ticket page
Http::redirect('tickets.php?id='.$tickets[0]->getId());
}
// Clear sticky search queue
unset($_SESSION[$queue_key]);
......
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