[Rt-commit] r9500 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report

ruz at bestpractical.com ruz at bestpractical.com
Tue Oct 30 01:49:04 EDT 2007


Author: ruz
Date: Tue Oct 30 01:49:03 2007
New Revision: 9500

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report/BulkReject.html

Log:
* use redirect instead of $m->comp

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report/BulkReject.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report/BulkReject.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Report/BulkReject.html	Tue Oct 30 01:49:03 2007
@@ -138,8 +138,12 @@
     # force redo search if we changed state
     $session{'tickets'}->RedoSearch;
 
-    if( $BulkRejectAndReturn ) {
-        return $m->comp( '/RTIR/index.html', results   => \@results );
+    if ( $BulkRejectAndReturn ) {
+        push @{ $session{"Actions"} ||= [] }, @results;
+        $session{'i'}++;
+        return RT::Interface::Web::Redirect(
+            RT->Config->Get('WebURL') ."/RTIR/index.html"
+        );
     }
 }
 


More information about the Rt-commit mailing list