diff options
author | ivan <ivan> | 2010-08-16 20:24:15 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-08-16 20:24:15 +0000 |
commit | bd269afd7c1602b0cbab02c44932449ae34760bd (patch) | |
tree | 5a3b6809013c0771d1e32473ad8a32f0e906da68 | |
parent | 921c62774b26197ed24ca983859fe00b119f82fb (diff) |
fix search of pending/billed CDRs to find src field too, RT#9640
-rw-r--r-- | httemplate/view/svc_phone.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi index 3424d34f3..27d270c89 100644 --- a/httemplate/view/svc_phone.cgi +++ b/httemplate/view/svc_phone.cgi @@ -128,9 +128,9 @@ my $html_foot = sub { my $search; my $cust_pkg = $svc_phone->cust_svc->cust_pkg; if ( $cust_pkg && $cust_pkg->part_pkg->option('disable_src') ) { - $search = "charged_party_or_src=$number"; + $search = "charged_party=$number"; } else { - $search = "src=$number"; + $search = "charged_party_or_src=$number"; } #XXX default prefix as per voip_cdr.pm |