[freeside-commits] freeside/rt/share/html/Elements ColumnMap, 1.1.1.2, 1.2
Ivan,,,
ivan at wavetail.420.am
Tue May 25 04:07:40 PDT 2010
Update of /home/cvs/cvsroot/freeside/rt/share/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv27774
Modified Files:
ColumnMap
Log Message:
fix rt/rt/ bad links, RT#7873
Index: ColumnMap
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/ColumnMap,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -w -d -r1.1.1.2 -r1.2
--- ColumnMap 18 May 2010 18:45:54 -0000 1.1.1.2
+++ ColumnMap 25 May 2010 11:07:38 -0000 1.2
@@ -157,7 +157,12 @@
} 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'};
More information about the freeside-commits
mailing list