summaryrefslogtreecommitdiff
path: root/rt/share/html
diff options
context:
space:
mode:
authorivan <ivan>2010-05-25 11:07:38 +0000
committerivan <ivan>2010-05-25 11:07:38 +0000
commitbe91be03818d9f7322dc29282fbfa902d65bfec3 (patch)
tree0ea5dab61e9fc550502e36a7d150aa2c83120149 /rt/share/html
parent80eddb3dc8201a9686db214af2d6dbc5a637c107 (diff)
fix rt/rt/ bad links, RT#7873
Diffstat (limited to 'rt/share/html')
-rw-r--r--rt/share/html/Elements/ColumnMap7
1 files changed, 6 insertions, 1 deletions
diff --git a/rt/share/html/Elements/ColumnMap b/rt/share/html/Elements/ColumnMap
index a1475a99d..7f5a16dcb 100644
--- a/rt/share/html/Elements/ColumnMap
+++ b/rt/share/html/Elements/ColumnMap
@@ -157,7 +157,12 @@ my $COLUMN_MAP = {
} qw(WebPath WebBaseURL WebURL)),
WebRequestPath => { value => sub { substr( $m->request_path, 1 ) } },
- WebRequestPathDir => { value => sub { substr( $m->request_comp->dir_path, 1 ) } },
+ #WebRequestPathDir => { value => sub { substr( $m->request_comp->dir_path, 1 ) } },
+ WebRequestPathDir => { value => sub {
+ my $wrpd = substr( $m->request_comp->dir_path, 1 );
+ $wrpd =~ s(rt/)(); #this is hacky, dunno why this happens
+ $wrpd;
+ } },
};
$COLUMN_MAP->{'CF'} = $COLUMN_MAP->{'CustomField'};