projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
80eddb3
)
fix rt/rt/ bad links, RT#7873
author
ivan
<ivan>
Tue, 25 May 2010 11:07:38 +0000
(11:07 +0000)
committer
ivan
<ivan>
Tue, 25 May 2010 11:07:38 +0000
(11:07 +0000)
rt/share/html/Elements/ColumnMap
patch
|
blob
|
history
diff --git
a/rt/share/html/Elements/ColumnMap
b/rt/share/html/Elements/ColumnMap
index
a1475a9
..
7f5a16d
100644
(file)
--- 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 ) } },
} 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'};
};
$COLUMN_MAP->{'CF'} = $COLUMN_MAP->{'CustomField'};