summaryrefslogtreecommitdiff
path: root/rt/share/html/Elements/ColumnMap
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/Elements/ColumnMap')
-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 a1475a9..6a1c237 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/)(); #hacky, dunno why this happens
+ $wrpd;
+ } },
};
$COLUMN_MAP->{'CF'} = $COLUMN_MAP->{'CustomField'};