X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fhtml%2FElements%2FRT__Ticket%2FColumnMap;h=ae962263c1c04b21d3274bc175c5b5b2525b003c;hb=fc6209f398899f0211cfcedeb81a3cd65e04a941;hp=21dc2a7537d6a3d4ad9de65780bc6f7ee0d36f46;hpb=8103c1fc1b2c27a6855feadf26f91b980a54bc52;p=freeside.git diff --git a/rt/html/Elements/RT__Ticket/ColumnMap b/rt/html/Elements/RT__Ticket/ColumnMap index 21dc2a753..ae962263c 100644 --- a/rt/html/Elements/RT__Ticket/ColumnMap +++ b/rt/html/Elements/RT__Ticket/ColumnMap @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -24,7 +24,7 @@ %# along with this program; if not, write to the Free Software %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA %# 02110-1301 or visit their web page on the internet at -%# http://www.gnu.org/copyleft/gpl.html. +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -69,7 +69,7 @@ my $ColumnMap = sub { my $field = $1; if ( $attr eq 'attribute' ) { - return (undef); + return ("CF.{$field}"); } elsif ( $attr eq 'title' ) { return ( $field ); @@ -115,6 +115,11 @@ my $LinkCallback = sub { }; $COLUMN_MAP = { + Queue => { + attribute => 'Queue', + title => 'Queue id', + value => sub { return $_[0]->Queue } + }, QueueName => { attribute => 'Queue', title => 'Queue', @@ -264,7 +269,7 @@ $COLUMN_MAP = { value => sub { return $_[0]->CreatedObj->AsString } }, CreatedBy => { - attribute => 'CreatedBy', + attribute => 'Creator', title => 'Created By', value => sub { return $_[0]->CreatorObj->Name } },