From 09a12d84a4387d595533ce60cbab1b1648975d40 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Thu, 7 Jan 2016 16:55:19 +0000
Subject: [PATCH] Default queue_name to open

---
 include/staff/tickets.inc.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php
index f45d882cc..99bfb2381 100644
--- a/include/staff/tickets.inc.php
+++ b/include/staff/tickets.inc.php
@@ -189,6 +189,7 @@ case 'search':
     // Fall-through and show open tickets
 case 'open':
     $status='open';
+    $queue_name = $queue_name ?: 'open';
     $results_type=__('Open Tickets');
     if (!$cfg->showAnsweredTickets())
         $tickets->filter(array('isanswered'=>0));
-- 
GitLab