projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git]
/
FS
/
FS
/
cust_bill
/
Search.pm
diff --git
a/FS/FS/cust_bill/Search.pm
b/FS/FS/cust_bill/Search.pm
index
38f11d1
..
ee5da3b
100644
(file)
--- a/
FS/FS/cust_bill/Search.pm
+++ b/
FS/FS/cust_bill/Search.pm
@@
-232,7
+232,7
@@
sub search_sql_where {
? @{ $param->{'cust_classnum'} }
: ( $param->{'cust_classnum'} );
? @{ $param->{'cust_classnum'} }
: ( $param->{'cust_classnum'} );
- @classnum = grep /^(\d
*
)$/, @classnum;
+ @classnum = grep /^(\d
+
)$/, @classnum;
if ( @classnum ) {
push @search, 'COALESCE(cust_main.classnum, 0) IN ('.join(',', @classnum).')';
if ( @classnum ) {
push @search, 'COALESCE(cust_main.classnum, 0) IN ('.join(',', @classnum).')';
@@
-276,7
+276,7
@@
sub search_sql_where {
my @owed = ref($param->{owed})
? @{ $param->{owed} }
: ($param->{owed});
my @owed = ref($param->{owed})
? @{ $param->{owed} }
: ($param->{owed});
- push @search, map { s/^owed/$owed_sql/ } @owed;
+ push @search, map { s/^owed/$owed_sql/
; $_
} @owed;
}
#open/net flags
}
#open/net flags