[Bps-public-commit] RT-Extension-ActivityReports branch, master, updated. 1.05-1-g38b2a0f

Alex Vandiver alexmv at bestpractical.com
Tue Sep 30 00:11:08 EDT 2014


The branch, master has been updated
       via  38b2a0f72e7c9cf3ba8ccdc6910d540b9ae90637 (commit)
      from  5a9264211729041e4f06f2454c887ce1df3f301c (commit)

Summary of changes:
 html/Search/ActivityReport.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 38b2a0f72e7c9cf3ba8ccdc6910d540b9ae90637
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Sep 30 00:10:56 2014 -0400

    Ensure that the WebPath is prepended to the URL when redirecting

diff --git a/html/Search/ActivityReport.html b/html/Search/ActivityReport.html
index 21e5567..2fc7fec 100644
--- a/html/Search/ActivityReport.html
+++ b/html/Search/ActivityReport.html
@@ -5,5 +5,5 @@ $End   => undef
 $Query => ''
 </%args>
 <%init>
-$m->redirect('/Reports/Activity/index.html?' . $m->comp('/Elements/QueryString', Query => $Query, Start => $Start, End => $End, ReportType => $ReportType));
+$m->redirect($RT::WebPath . '/Reports/Activity/index.html?' . $m->comp('/Elements/QueryString', Query => $Query, Start => $Start, End => $End, ReportType => $ReportType));
 </%init>

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


More information about the Bps-public-commit mailing list