From: ivan Date: Thu, 22 Oct 2009 08:09:00 +0000 (+0000) Subject: should at least run under pg 8.3 now, need to test & see if the data make sense,... X-Git-Tag: freeside_1_9_2~284 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=f350c1a56c75ae827596d2fe6374516fa4ba96da;p=freeside.git should at least run under pg 8.3 now, need to test & see if the data make sense, RT#5496 --- 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,