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

oops: Fix crash after clearing advanced search

parent 6b76402e
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,9 @@ $queue_sort_key = sprintf(':Q%s:%s:sort', ObjectModel::OBJECT_TYPE_TICKET, $queu
if ($has_relevance) {
array_unshift($queue_sort_options, 'relevance');
}
elseif ($_SESSION[$queue_sort_key][0] == 'relevance') {
unset($_SESSION[$queue_sort_key]);
}
if (isset($_GET['sort'])) {
$_SESSION[$queue_sort_key] = array($_GET['sort'], $_GET['dir']);
......
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