summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2010-08-16 20:24:15 +0000
committerivan <ivan>2010-08-16 20:24:15 +0000
commitbd269afd7c1602b0cbab02c44932449ae34760bd (patch)
tree5a3b6809013c0771d1e32473ad8a32f0e906da68 /httemplate
parent921c62774b26197ed24ca983859fe00b119f82fb (diff)
fix search of pending/billed CDRs to find src field too, RT#9640
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/svc_phone.cgi4
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