diff options
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/search/svc_phone.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/svc_phone.cgi b/httemplate/search/svc_phone.cgi index 21e1a9233..0ad458b72 100644 --- a/httemplate/search/svc_phone.cgi +++ b/httemplate/search/svc_phone.cgi @@ -102,7 +102,7 @@ if ( $cgi->param('magic') =~ /^(all|unlinked)$/ ) { my $f_w = " FROM cdr_termination LEFT JOIN cdr USING ( acctid ) ". - " WHERE cdr.acctid = svc_phone.phonenum ". # XXX connectone-specific + " WHERE cdr.carrierid = CAST(svc_phone.phonenum AS BIGINT) ". # XXX connectone-specific, has to match svc_external.id :/ $and_date; push @select, |