internationalization/localization, RT12515
[freeside.git] / httemplate / search / cust_svc.html
index 2c17561..72ecb8e 100644 (file)
@@ -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";