TT#44638 call history: search for source_cli, destination_user_in

aside source_user/destination_user

Change-Id: Iac77b697d55816ac7a27b7db0ed193f54aa3f0d0
(cherry picked from commit bbbc47436d)
changes/68/23768/1
Rene Krenn 7 years ago
parent 6d635a4714
commit cd413af852

@ -2622,9 +2622,9 @@ sub calllist_master :Chained('base') :PathPart('calls') :CaptureArgs(0) {
# NO SEARCH FOR UNINDEXED COLUMNS !!!
{ name => "id", int_search => 1, title => $c->loc('#'), },
{ name => "direction", search => 0, literal_sql => 'if(source_user_id = "'.$c->stash->{subscriber}->uuid.'", "outgoing", "incoming")', },
#{ name => "source_user", strict_search => 1, 'no_column' => 1, },
{ name => "source_user", strict_search => 1, 'no_column' => 1, },
{ name => "source_cli", strict_search => 1, title => $c->loc('Caller'), },
#{ name => "destination_user", strict_search => 1, 'no_column' => 1, },
{ name => "destination_user", strict_search => 1, 'no_column' => 1, },
{ name => "destination_user_in", strict_search => 1, title => $c->loc('Callee'), },
{ name => "clir", search => 0, title => $c->loc('CLIR') },
{ name => "source_customer_billing_zones_history.detail", search => 0, title => $c->loc('Billing zone'), }, #index required...

Loading…
Cancel
Save