X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_svc.html;h=72ecb8e356455c5fe25f8c0fac87d67f212b1514;hb=e168ca3db2702bd9a540316cd9bd840238dd19ce;hp=2c17561f2981b868b356d03bda1b338da4cbe772;hpb=6e63685c9ac04d29a6ca46d6b51f2b81ab8103ef;p=freeside.git diff --git a/httemplate/search/cust_svc.html b/httemplate/search/cust_svc.html index 2c17561f2..72ecb8e35 100644 --- a/httemplate/search/cust_svc.html +++ b/httemplate/search/cust_svc.html @@ -1,11 +1,11 @@ -<% include( 'elements/search.html', - 'title' => 'Service search results', - 'name' => 'services', +<& elements/search.html, + 'title' => emt('Service search results'), + 'name' => emt('services'), 'query' => $sql_query, 'count_query' => $count_query, 'redirect' => $link, - 'header' => [ '#', - 'Service', + 'header' => [ emt('#'), + emt('Service'), # package? FS::UI::Web::cust_header(), ], @@ -36,8 +36,7 @@ '', FS::UI::Web::cust_styles(), ], - ) -%> +&> <%init> die "access denied" @@ -110,7 +109,8 @@ my $sql_query = { 'table' => 'cust_svc', 'addl_from' => $addl_from, 'hashref' => {}, - 'extra_sql' => "$extra_sql $orderby", + 'extra_sql' => $extra_sql, + 'order_by' => $orderby, }; my $count_query = "SELECT COUNT(*) FROM cust_svc $addl_from $extra_sql";