summaryrefslogtreecommitdiff
path: root/httemplate/search/svc_domain.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/svc_domain.cgi')
-rwxr-xr-xhttemplate/search/svc_domain.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/svc_domain.cgi b/httemplate/search/svc_domain.cgi
index 08ffdba5e..9827b8d38 100755
--- a/httemplate/search/svc_domain.cgi
+++ b/httemplate/search/svc_domain.cgi
@@ -97,7 +97,8 @@ my $sql_query = {
'cust_main.custnum',
FS::UI::Web::cust_sql_fields(),
),
- 'extra_sql' => "$extra_sql $orderby",
+ 'extra_sql' => $extra_sql,
+ 'order_by' => $orderby,
'addl_from' => $addl_from,
};