summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_pkg.cgi')
-rwxr-xr-xhttemplate/search/cust_pkg.cgi8
1 files changed, 8 insertions, 0 deletions
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.
%###
%