projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8689850
)
fix "column refnum is ambiguous" error pulling up churn detail when you have a single...
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 23 Dec 2016 01:22:21 +0000
(17:22 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 23 Dec 2016 01:22:21 +0000
(17:22 -0800)
FS/FS/cust_pkg/Search.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg/Search.pm
b/FS/FS/cust_pkg/Search.pm
index
3a8e6d0
..
311dbdb
100644
(file)
--- a/
FS/FS/cust_pkg/Search.pm
+++ b/
FS/FS/cust_pkg/Search.pm
@@
-281,7
+281,7
@@
sub search {
}
###
- # parse refnum (advertising source)
+ # parse
(customer)
refnum (advertising source)
###
if ( exists($params->{'refnum'}) ) {
@@
-292,7
+292,7
@@
sub search {
@refnum = ( $params->{'refnum'} );
}
my $in = join(',', grep /^\d+$/, @refnum);
- push @where, "refnum IN($in)" if length $in;
+ push @where, "
cust_main.
refnum IN($in)" if length $in;
}
###