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

search: Fix search queue missing results on nav link

This fixes a bug where the search queue would be empty when accessing it via
the navigation link
parent fd21cb10
No related branches found
No related tags found
No related merge requests found
......@@ -149,8 +149,6 @@ case 'open':
}
// Apply primary ticket status
if (!isset($status) && isset($_GET['status']))
$status = $_GET['status'];
if ($status)
$tickets->filter(array('status__state'=>$status));
......
......@@ -861,7 +861,6 @@ getConfig = (function() {
})();
$(document).on('pjax:click', function(options) {
clearInterval(window.ticket_refresh);
// Release ticket lock (maybe)
if ($.autoLock !== undefined)
$.autoLock.releaseLock();
......@@ -885,6 +884,8 @@ $(document).on('pjax:start', function() {
$.toggleOverlay(false);
// Close tooltips
$('.tip_box').remove();
// Cancel refreshes
clearInterval(window.ticket_refresh);
});
$(document).on('pjax:send', function(event) {
......
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