summaryrefslogtreecommitdiff
path: root/httemplate/browse/part_pkg.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-01-19 02:29:23 -0800
committerIvan Kohler <ivan@freeside.biz>2015-01-19 02:29:23 -0800
commit8e2372530191ae32938786363885aa4b540e29c7 (patch)
treebce80235cfbaa36dacbcb6cd4879dc1263a9595c /httemplate/browse/part_pkg.cgi
parent9837c59915b41af2b7f4d348083a70fa549e10b1 (diff)
import package definitions, RT#32639
Diffstat (limited to 'httemplate/browse/part_pkg.cgi')
-rwxr-xr-xhttemplate/browse/part_pkg.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi
index 87aa79255..87e7aad90 100755
--- a/httemplate/browse/part_pkg.cgi
+++ b/httemplate/browse/part_pkg.cgi
@@ -76,6 +76,10 @@ if ( $cgi->param('classnum') =~ /^(\d+)$/ ) {
}
$cgi->delete('classnum');
+if ( $cgi->param('pkgpartbatch') =~ /^([\w\/\-\:\. ]+)$/ ) {
+ push @where, "pkgpartbatch = '$1' ";
+}
+
if ( $cgi->param('missing_recur_fee') ) {
push @where, "NOT EXISTS ( SELECT 1 FROM part_pkg_option
WHERE optionname = 'recur_fee'