'name' => 'agent types',
'query' => { 'table' => 'agent_type',
'hashref' => {},
- 'extra_sql' => 'ORDER BY typenum', # 'ORDER BY atype',
+ 'order_by' => 'ORDER BY typenum', # 'ORDER BY atype',
},
'count_query' => $count_query,
'header' => [ '#',
[
{
#'data' => $part_pkg->pkg. ' - '. $part_pkg->comment,
- 'data' => $type_pkgs->pkg. ' - '.
+ 'data' => encode_entities($type_pkgs->pkg). ' - '.
( $type_pkgs->custom ? '(CUSTOM) ' : '' ).
- $type_pkgs->comment,
+ encode_entities($type_pkgs->comment),
'align' => 'left',
'link' => $p. 'edit/part_pkg.cgi?'. $type_pkgs->pkgpart,
},