projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81429b6
)
fix up svc_www searching
author
ivan
<ivan>
Wed, 14 Feb 2007 01:43:19 +0000
(
01:43
+0000)
committer
ivan
<ivan>
Wed, 14 Feb 2007 01:43:19 +0000
(
01:43
+0000)
httemplate/search/svc_www.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/svc_www.cgi
b/httemplate/search/svc_www.cgi
index
d3b0549
..
d9332e9
100755
(executable)
--- a/
httemplate/search/svc_www.cgi
+++ b/
httemplate/search/svc_www.cgi
@@
-84,7
+84,7
@@
my $extra_sql =
: '';
-my $count_query =
'SELECT COUNT(*) FROM svc_www'
;
+my $count_query =
"SELECT COUNT(*) FROM svc_www $addl_from $extra_sql"
;
my $sql_query = {
'table' => 'svc_www',
'hashref' => {},
@@
-94,7
+94,7
@@
my $sql_query = {
'cust_main.custnum',
FS::UI::Web::cust_sql_fields(),
),
- 'extra_sql' =>
$orderby
,
+ 'extra_sql' =>
"$extra_sql $orderby"
,
'addl_from' => $addl_from,
};