projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41a196e
)
reconcile date formatting from #23121 with RT 4.0.13 (RT#13852)
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 4 Jun 2013 19:26:14 +0000
(12:26 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 4 Jun 2013 19:26:14 +0000
(12:26 -0700)
rt/share/html/Elements/ColumnMap
patch
|
blob
|
history
diff --git
a/rt/share/html/Elements/ColumnMap
b/rt/share/html/Elements/ColumnMap
index
7b127e9
..
12a6145
100644
(file)
--- a/
rt/share/html/Elements/ColumnMap
+++ b/
rt/share/html/Elements/ColumnMap
@@
-117,13
+117,14
@@
my $COLUMN_MAP = {
my @values;
# it is guaranteed to be the same type for all fields, right?
my $v = $values->First;
my @values;
# it is guaranteed to be the same type for all fields, right?
my $v = $values->First;
+ my $cftype = $v->CustomFieldObj->Type;
do {
do {
- if ($
v->T
ype eq 'Image') {
+ if ($
cft
ype eq 'Image') {
push @values,
\($m->scomp( '/Elements/ShowCustomFieldImage',
Object => $v ));
push @values,
\($m->scomp( '/Elements/ShowCustomFieldImage',
Object => $v ));
- } elsif ( $
v->Type eq 'Date' or $v->T
ype eq 'DateTime' ) {
+ } elsif ( $
cftype eq 'Date' or $cft
ype eq 'DateTime' ) {
# then actually return the date object;
# ProcessColumnMapValue will stringify it
my $DateObj = RT::Date->new( $session{'CurrentUser'} );
# then actually return the date object;
# ProcessColumnMapValue will stringify it
my $DateObj = RT::Date->new( $session{'CurrentUser'} );