X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fsvc_phone.cgi;h=29434083f443bd9f569aca8d22c6e83174bcf69f;hp=0ad458b72060b73266614e2af29881a6e1b39f75;hb=c4b71bc4459cb7d403cbebede470aeb2c6292a6e;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2 diff --git a/httemplate/search/svc_phone.cgi b/httemplate/search/svc_phone.cgi index 0ad458b72..29434083f 100644 --- a/httemplate/search/svc_phone.cgi +++ b/httemplate/search/svc_phone.cgi @@ -161,7 +161,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, };