X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fsvc_external.cgi;h=cb51d44fd5e914cc1b5d0cfacd3e8c5855b7cf5e;hp=f0617542a80b62a66cae94ee0f29602ecfb29d84;hb=c3da5cf1caa244937d280e0f406927103beef148;hpb=63a268637b2d51a8766412617724b9436439deb6 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, };