diff options
author | mark <mark> | 2012-02-19 00:34:44 +0000 |
---|---|---|
committer | mark <mark> | 2012-02-19 00:34:44 +0000 |
commit | e010976ba33c00bb2b97d677f610e4b19571feaf (patch) | |
tree | 38df4dd0e9f525829fb7373b7783442a9d8170a1 /rt/share/html/Search/Elements/BuildFormatString | |
parent | e67988848e92af19719fe7c06c589e3b7b46d058 (diff) |
improve customer field access in RT queries, #16490
Diffstat (limited to 'rt/share/html/Search/Elements/BuildFormatString')
-rw-r--r-- | rt/share/html/Search/Elements/BuildFormatString | 12 |
1 files changed, 8 insertions, 4 deletions
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 ); |