projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9579d4
)
improve performance of DID provisioning status report, RT10988
author
levinse
<levinse>
Tue, 21 Jun 2011 22:59:01 +0000
(22:59 +0000)
committer
levinse
<levinse>
Tue, 21 Jun 2011 22:59:01 +0000
(22:59 +0000)
httemplate/search/phone_inventory_provisioned.html
patch
|
blob
|
history
diff --git
a/httemplate/search/phone_inventory_provisioned.html
b/httemplate/search/phone_inventory_provisioned.html
index
37fef8a
..
eb5f21e
100644
(file)
--- a/
httemplate/search/phone_inventory_provisioned.html
+++ b/
httemplate/search/phone_inventory_provisioned.html
@@
-39,10
+39,9
@@
my $count = 0;
foreach my $did ( @dids ) {
- my $
cust_svc = $did->cust_svc
;
- next unless $
cust_svc
;
+ my $
svcnum = $did->svcnum
;
+ next unless $
svcnum
;
- my $svcnum = $cust_svc->svcnum;
my $sql = "select count(1) from cdr where src =
(select phonenum from svc_phone where svcnum = $svcnum)
or charged_party = (select phonenum from svc_phone where