projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bb43c72
)
spacing
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 1 Aug 2018 21:07:50 +0000
(14:07 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 1 Aug 2018 21:07:50 +0000
(14:07 -0700)
FS/FS/cust_main/Search.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Search.pm
b/FS/FS/cust_main/Search.pm
index
a0cf86f
..
2460250
100644
(file)
--- a/
FS/FS/cust_main/Search.pm
+++ b/
FS/FS/cust_main/Search.pm
@@
-232,9
+232,9
@@
sub smart_search {
#doesn't throw a wrench in the works)
push @cust_main, qsearch( {
#doesn't throw a wrench in the works)
push @cust_main, qsearch( {
-
'table' => 'cust_main',
-
'hashref' => { %options },
-
'extra_sql' =>
+ 'table' => 'cust_main',
+ 'hashref' => { %options },
+ 'extra_sql' =>
( keys(%options) ? ' AND ' : ' WHERE ' ).
join(' AND ',
" LOWER(first) = ". dbh->quote(lc($first)),
( keys(%options) ? ' AND ' : ' WHERE ' ).
join(' AND ',
" LOWER(first) = ". dbh->quote(lc($first)),
@@
-242,7
+242,7
@@
sub smart_search {
" LOWER(company) = ". dbh->quote(lc($company)),
$agentnums_sql,
),
" LOWER(company) = ". dbh->quote(lc($company)),
$agentnums_sql,
),
- } ),
+ } );
#contacts?
# probably not necessary for the "something a browser remembered" case
#contacts?
# probably not necessary for the "something a browser remembered" case