[Rt-commit] [svn] r1129 - in rt/branches/rt-3.1/html: Elements
Search/Elements
alexmv at pallas.eruditorum.org
alexmv at pallas.eruditorum.org
Tue Jun 22 15:43:21 EDT 2004
Author: alexmv
Date: Tue Jun 22 15:43:21 2004
New Revision: 1129
Modified:
rt/branches/rt-3.1/html/Elements/TicketList
rt/branches/rt-3.1/html/Search/Elements/BuildFormatString
Log:
RT-Ticket: 5765
RT-Status: resolved
RT-Update: correspond
* Add LastUpdatedBy as a possible column
Modified: rt/branches/rt-3.1/html/Elements/TicketList
==============================================================================
--- rt/branches/rt-3.1/html/Elements/TicketList (original)
+++ rt/branches/rt-3.1/html/Elements/TicketList Tue Jun 22 15:43:21 2004
@@ -116,14 +116,14 @@
return ( $cf->Name );
}
elsif ( $attr eq 'value' ) {
- my $value = eval "sub {
+ my $value = eval "sub {
my \$values = \$_[0]->CustomFieldValues('".$cf->id."');
return ( join( ', ', map { \$_->Content } \@{ \$values->ItemsArrayRef } ))
}" || die $@;
return($value);
- }
- }
+ }
}
+}
$COLUMN_MAP = {
QueueName => {
attribute => 'Queue',
@@ -261,6 +261,10 @@
attribute => 'LastUpdated',
value => sub { return $_[0]->LastUpdatedObj->AsString }
},
+ LastUpdatedBy => {
+ attribute => 'LastUpdatedBy',
+ value => sub { return $_[0]->LastUpdatedByObj->Name }
+ },
Told => {
attribute => 'Told',
value => sub { return $_[0]->ToldObj->AsString }
Modified: rt/branches/rt-3.1/html/Search/Elements/BuildFormatString
==============================================================================
--- rt/branches/rt-3.1/html/Search/Elements/BuildFormatString (original)
+++ rt/branches/rt-3.1/html/Search/Elements/BuildFormatString Tue Jun 22 15:43:21 2004
@@ -23,6 +23,7 @@
"DueRelative", "ResolvedRelative",
"Starts", "Started",
"Created", "LastUpdated",
+ "LastUpdatedBy",
"Told", "Due",
"Resolved", "NEWLINE",
"RefersTo", "ReferredToBy",
More information about the Rt-commit
mailing list