From 0ca73c3d0b11d62049f4d47fb46a058d015ed52c Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Fri, 14 Dec 2012 12:43:59 -0500
Subject: [PATCH] Use ticket status (state) to maintain queue view post mass
 action

---
 include/staff/tickets.inc.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php
index 341867b3e..231db6833 100644
--- a/include/staff/tickets.inc.php
+++ b/include/staff/tickets.inc.php
@@ -304,7 +304,7 @@ $negorder=$order=='DESC'?'ASC':'DESC'; //Negate the sorting..
  <a class="refresh" href="<?php echo $_SERVER['REQUEST_URI']; ?>">Refresh</a>
  <input type="hidden" name="a" value="mass_process" >
  <input type="hidden" name="do" id="action" value="" >
- <input type="hidden" name="status" value="<?php echo $status; ?>" >
+ <input type="hidden" name="status" value="<?php echo $_REQUEST['status']; ?>" >
  <table class="list" border="0" cellspacing="1" cellpadding="2" width="940">
     <caption><?php echo $showing; ?>&nbsp;&nbsp;&nbsp;<?php echo $results_type; ?></caption>
     <thead>
@@ -470,6 +470,11 @@ $negorder=$order=='DESC'?'ASC':'DESC'; //Negate the sorting..
                     <input class="button" type="submit" name="close" value="Close">
                     <?php
                     break;
+                case 'overdue':
+                    ?>
+                    <input class="button" type="submit" name="close" value="Close">
+                    <?php
+                    break;
                 default: //search??
                     ?>
                     <input class="button" type="submit" name="close" value="Close" >
-- 
GitLab