From e010976ba33c00bb2b97d677f610e4b19571feaf Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 19 Feb 2012 00:34:44 +0000 Subject: improve customer field access in RT queries, #16490 --- rt/share/html/Search/Elements/BuildFormatString | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'rt/share/html/Search/Elements/BuildFormatString') diff --git a/rt/share/html/Search/Elements/BuildFormatString b/rt/share/html/Search/Elements/BuildFormatString index f77c8da84..96e6a2863 100644 --- a/rt/share/html/Search/Elements/BuildFormatString +++ b/rt/share/html/Search/Elements/BuildFormatString @@ -69,11 +69,15 @@ $CurrentDisplayColumns => undef # it -- and it grows per request. # All the things we can display in the format string by default -my @fields = qw( +# referenced by their ColumnMap keys +my @fields = ( + qw( id QueueName Subject + ), + + $m->comp('/Elements/CustomerFields', 'Names'), #freeside - Customer Agent CustomerClass CustomerTags AdvertisingSource - + qw( Status ExtendedStatus UpdateStatus Type @@ -99,7 +103,7 @@ my @fields = qw( Bookmark NEWLINE - + ) ); # loc_qw $m->callback( CallbackOnce => 1, CallbackName => 'SetFieldsOnce', Fields => \@fields ); -- cgit v1.2.1