projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ports with dashes (-) not showing their monitoring status, RT#14926
[freeside.git]
/
httemplate
/
browse
/
agent_type.cgi
diff --git
a/httemplate/browse/agent_type.cgi
b/httemplate/browse/agent_type.cgi
index
d64ff18
..
1959302
100755
(executable)
--- a/
httemplate/browse/agent_type.cgi
+++ b/
httemplate/browse/agent_type.cgi
@@
-5,7
+5,7
@@
'name' => 'agent types',
'query' => { 'table' => 'agent_type',
'hashref' => {},
'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' => [ '#',
},
'count_query' => $count_query,
'header' => [ '#',
@@
-44,7
+44,9
@@
my $agent_type = shift;
[
{
#'data' => $part_pkg->pkg. ' - '. $part_pkg->comment,
[
{
#'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,
},
'align' => 'left',
'link' => $p. 'edit/part_pkg.cgi?'. $type_pkgs->pkgpart,
},