diff options
Diffstat (limited to 'httemplate/search/svc_external.cgi')
-rwxr-xr-x | httemplate/search/svc_external.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/svc_external.cgi b/httemplate/search/svc_external.cgi index f0617542a..cb51d44fd 100755 --- a/httemplate/search/svc_external.cgi +++ b/httemplate/search/svc_external.cgi @@ -121,7 +121,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, }; |