X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pkg.cgi;h=7a651c4bfe9248ca6582899f531384b718053f19;hb=05686487551e26418c9b2d6b92ea0d89bb100082;hp=8dbc600e970cf17f910c479929c37bc18f6b245e;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index 8dbc600e9..7a651c4bf 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -80,6 +80,14 @@ %#eslaf % %### +%# parse part_pkg +%### +% +%my $pkgpart = join (' OR pkgpart=', +% grep {$_} map { /^(\d+)$/; } ($cgi->param('pkgpart'))); +%push @where, '(pkgpart=' . $pkgpart . ')' if $pkgpart; +% +%### %# parse magic, legacy, etc. %### %