[freeside-commits] freeside/httemplate/search cust_pkg.cgi, 1.73, 1.73.2.1
Ivan,,,
ivan at wavetail.420.am
Wed Aug 17 17:33:39 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv14519/httemplate/search
Modified Files:
Tag: FREESIDE_2_3_BRANCH
cust_pkg.cgi
Log Message:
allow multiple classnums in package search, RT#13922
Index: cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pkg.cgi,v
retrieving revision 1.73
retrieving revision 1.73.2.1
diff -u -w -d -r1.73 -r1.73.2.1
--- cust_pkg.cgi 23 Jun 2011 21:30:10 -0000 1.73
+++ cust_pkg.cgi 18 Aug 2011 00:33:37 -0000 1.73.2.1
@@ -145,11 +145,14 @@
$search_hash{'query'} = $cgi->keywords;
#scalars
-for (qw( agentnum custnum magic status classnum custom cust_fields pkgbatch )) {
+for (qw( agentnum custnum magic status custom cust_fields pkgbatch )) {
$search_hash{$_} = $cgi->param($_) if $cgi->param($_);
}
-$search_hash{'pkgpart'} = [ $cgi->param('pkgpart') ];
+#arrays
+for (qw( pkgpart classnum )) {
+ $search_hash{$_} = [ $cgi->param($_) ];
+}
for my $param ( qw(censustract) ) {
$search_hash{$param} = $cgi->param($param) || ''
More information about the freeside-commits
mailing list