[freeside-commits] freeside/httemplate/search cust_pkg.cgi, 1.69.2.2, 1.69.2.3
Ivan,,,
ivan at wavetail.420.am
Wed Aug 17 17:33:42 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv14520/httemplate/search
Modified Files:
Tag: FREESIDE_2_1_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.69.2.2
retrieving revision 1.69.2.3
diff -u -w -d -r1.69.2.2 -r1.69.2.3
--- cust_pkg.cgi 23 Jun 2011 21:31:29 -0000 1.69.2.2
+++ cust_pkg.cgi 18 Aug 2011 00:33:40 -0000 1.69.2.3
@@ -168,11 +168,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