[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-343-g9c468ed

Thomas Sibley trs at bestpractical.com
Mon Aug 16 18:23:40 EDT 2010


The branch, 3.9-trunk has been updated
       via  9c468ed827c393ec9bbc8ea08db7d03401fb2d12 (commit)
      from  2f1c25cf0a57520d5311480e65d1cbda69413a29 (commit)

Summary of changes:
 share/html/Admin/Queues/index.html |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 9c468ed827c393ec9bbc8ea08db7d03401fb2d12
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Aug 16 18:25:31 2010 -0400

    Redirect to the modify queue page if only one queue is found

diff --git a/share/html/Admin/Queues/index.html b/share/html/Admin/Queues/index.html
index 416da7c..446c980 100755
--- a/share/html/Admin/Queues/index.html
+++ b/share/html/Admin/Queues/index.html
@@ -104,6 +104,8 @@ if ( defined $QueueString && length $QueueString ) {
         OPERATOR => $QueueOp,
         VALUE    => $QueueString,
     );
+    RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."Admin/Queues/Modify.html?id=".$queues->First->id)
+          if $queues->Count == 1;
 } else {
     $queues->UnLimit;
     $caption = $FindDisabledQueues

-----------------------------------------------------------------------


More information about the Rt-commit mailing list