From e9a3b985f3765eba183653877407a35302bc49f4 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Thu, 16 Jan 2014 11:22:04 -0600
Subject: [PATCH] Disambiguate `status` field on ticket queue view

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

diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php
index 1415ce76d..f3336ce0c 100644
--- a/include/staff/tickets.inc.php
+++ b/include/staff/tickets.inc.php
@@ -73,7 +73,7 @@ $qwhere .= ' )';
 
 //STATUS
 if($status) {
-    $qwhere.=' AND status='.db_input(strtolower($status));
+    $qwhere.=' AND ticket.status='.db_input(strtolower($status));
 }
 
 if (isset($_REQUEST['ownerId'])) {
-- 
GitLab