diff options
author | Mark Wells <mark@freeside.biz> | 2013-01-12 12:03:16 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-01-12 12:07:06 -0800 |
commit | b70b0d8c6f571a68ffb60c5ca728a230926abee4 (patch) | |
tree | 27e6d37c746c8eb5a4a9e257297d98d569bd5a1b /httemplate/edit/process/part_pkg.cgi | |
parent | dd825e780ad1e7d520f5c2d7f99c0f67fe892781 (diff) |
supplemental packages, #20689
Diffstat (limited to 'httemplate/edit/process/part_pkg.cgi')
-rwxr-xr-x | httemplate/edit/process/part_pkg.cgi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/edit/process/part_pkg.cgi b/httemplate/edit/process/part_pkg.cgi index c388676df..2ac57f90b 100755 --- a/httemplate/edit/process/part_pkg.cgi +++ b/httemplate/edit/process/part_pkg.cgi @@ -185,6 +185,15 @@ my @process_m2m = ( grep /^svc_dst_pkgpart/, $cgi->param ], }, + { 'link_table' => 'part_pkg_link', + 'target_table' => 'part_pkg', + 'base_field' => 'src_pkgpart', + 'target_field' => 'dst_pkgpart', + 'hashref' => { 'link_type' => 'supp', 'hidden' => '' }, + 'params' => [ map $cgi->param($_), + grep /^supp_dst_pkgpart/, $cgi->param + ], + }, map { my $hidden = $_; { 'link_table' => 'part_pkg_link', |