projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve customer field access in RT queries, #16490
[freeside.git]
/
rt
/
share
/
html
/
Search
/
Elements
/
BuildFormatString
diff --git
a/rt/share/html/Search/Elements/BuildFormatString
b/rt/share/html/Search/Elements/BuildFormatString
index
f77c8da
..
96e6a28
100644
(file)
--- 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
# 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
id QueueName Subject
+ ),
+
+ $m->comp('/Elements/CustomerFields', 'Names'), #freeside
- Customer Agent CustomerClass CustomerTags AdvertisingSource
-
+ qw(
Status ExtendedStatus UpdateStatus
Type
Status ExtendedStatus UpdateStatus
Type
@@
-99,7
+103,7
@@
my @fields = qw(
Bookmark
NEWLINE
Bookmark
NEWLINE
-
+ )
); # loc_qw
$m->callback( CallbackOnce => 1, CallbackName => 'SetFieldsOnce', Fields => \@fields );
); # loc_qw
$m->callback( CallbackOnce => 1, CallbackName => 'SetFieldsOnce', Fields => \@fields );