projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
search tickets by customer advertising source, #16490
[freeside.git]
/
rt
/
lib
/
RT
/
Tickets_Overlay.pm
diff --git
a/rt/lib/RT/Tickets_Overlay.pm
b/rt/lib/RT/Tickets_Overlay.pm
index
f6df553
..
76a57b8
100644
(file)
--- a/
rt/lib/RT/Tickets_Overlay.pm
+++ b/
rt/lib/RT/Tickets_Overlay.pm
@@
-148,6
+148,7
@@
our %FIELD_METADATA = (
#freeside
Agentnum => [ 'FREESIDEFIELD', ],
Classnum => [ 'FREESIDEFIELD', ],
#freeside
Agentnum => [ 'FREESIDEFIELD', ],
Classnum => [ 'FREESIDEFIELD', ],
+ Refnum => [ 'FREESIDEFIELD', ],
Tagnum => [ 'FREESIDEFIELD', 'cust_tag' ],
WillResolve => [ 'DATE' => 'WillResolve', ], #loc_left_pair
);
Tagnum => [ 'FREESIDEFIELD', 'cust_tag' ],
WillResolve => [ 'DATE' => 'WillResolve', ], #loc_left_pair
);
@@
-1824,6
+1825,9
@@
sub OrderByCols {
elsif ( $subkey eq 'Agent' ) {
$field = "$custalias.agentnum";
}
elsif ( $subkey eq 'Agent' ) {
$field = "$custalias.agentnum";
}
+ elsif ( $subkey eq 'Referral' ) {
+ $field = "$custalias.refnum";
+ }
else {
# no other cases exist yet, but for obviousness:
$field = $subkey;
else {
# no other cases exist yet, but for obviousness:
$field = $subkey;