projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73ccbbf
)
scalar all CGI params used in lists
author
ivan
<ivan>
Sun, 22 May 2011 20:08:37 +0000
(20:08 +0000)
committer
ivan
<ivan>
Sun, 22 May 2011 20:08:37 +0000
(20:08 +0000)
httemplate/search/cust_main.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_main.cgi
b/httemplate/search/cust_main.cgi
index
b4db1da
..
8b67215
100755
(executable)
--- a/
httemplate/search/cust_main.cgi
+++ b/
httemplate/search/cust_main.cgi
@@
-444,7
+444,7
@@
if ( $cgi->param('browse')
if ( $cgi->param('search_cust') ) {
$sortby = \*company_sort;
$orderby = "ORDER BY LOWER(company || ' ' || last || ' ' || first )";
- push @cust_main, smart_search( 'search' =>
$cgi->param('search_cust'
),
+ push @cust_main, smart_search( 'search' =>
scalar($cgi->param('search_cust')
),
'no_fuzzy_on_exact' => 1, #pref?
);
}