<% include( 'elements/browse.html',
'title' => 'Agent Types',
- 'menubar' => [ #'Main menu' => $p,
- 'Agents' =>"${p}browse/agent.cgi",
- ],
+ 'menubar' => [ 'Agents' =>"${p}browse/agent.cgi", ],
'html_init' => $html_init,
'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. ' - '. $type_pkgs->comment,
+ 'data' => $type_pkgs->pkg. ' - '.
+ ( $type_pkgs->custom ? '(CUSTOM) ' : '' ).
+ $type_pkgs->comment,
'align' => 'left',
'link' => $p. 'edit/part_pkg.cgi?'. $type_pkgs->pkgpart,
},