projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1960098
)
fix error on advanced broadband report when selecting a router, RT#14626
author
ivan
<ivan>
Tue, 25 Oct 2011 00:19:10 +0000
(
00:19
+0000)
committer
ivan
<ivan>
Tue, 25 Oct 2011 00:19:10 +0000
(
00:19
+0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
FS/FS/svc_broadband.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
c3e7209
..
ede7f23
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-2908,7
+2908,7
@@
sub search {
#agentnum
if ( $params->{'agentnum'} =~ /^(\d+)$/ and $1 ) {
- push @where, "agentnum = $1";
+ push @where, "
cust_main.
agentnum = $1";
}
#custnum
diff --git
a/FS/FS/svc_broadband.pm
b/FS/FS/svc_broadband.pm
index
f1a233b
..
576684c
100755
(executable)
--- a/
FS/FS/svc_broadband.pm
+++ b/
FS/FS/svc_broadband.pm
@@
-168,7
+168,7
@@
sub search {
#agentnum
if ( $params->{'agentnum'} =~ /^(\d+)$/ and $1 ) {
- push @where, "agentnum = $1";
+ push @where, "
cust_main.
agentnum = $1";
}
push @where, $FS::CurrentUser::CurrentUser->agentnums_sql(
'null_right' => 'View/link unlinked services',