[Bps-public-commit] r10971 - RT-Extension-Reports/html/Reports

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Mar 2 12:52:11 EST 2008


Author: sunnavy
Date: Sun Mar  2 12:52:09 2008
New Revision: 10971

Modified:
   RT-Extension-Reports/html/Reports/index.html

Log:
redirect to the type page instead of just calling it with comp()

Modified: RT-Extension-Reports/html/Reports/index.html
==============================================================================
--- RT-Extension-Reports/html/Reports/index.html	(original)
+++ RT-Extension-Reports/html/Reports/index.html	Sun Mar  2 12:52:09 2008
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 
 % if ( grep { $Type eq $_ } @types ) {
-%    $m->comp("Types/$Type");
+%    RT::Interface::Web::Redirect( $RT::WebURL . "Reports/Types/$Type" );
 % }
 % else {
 <& /Elements/Header, Title => $Title &>



More information about the Bps-public-commit mailing list