summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pkg.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-12-22 15:30:25 -0800
committerIvan Kohler <ivan@freeside.biz>2016-12-22 15:30:25 -0800
commitb49e60810267101b83b9b2133e5dfc90d1663cdc (patch)
tree59c88dc8e3ff4bbb464b98fa3d23e341aa102b60 /httemplate/search/cust_pkg.cgi
parent09af85fc0e7a48392c930c9672a99448cf9630d4 (diff)
package search on null dates, RT#73715
Diffstat (limited to 'httemplate/search/cust_pkg.cgi')
-rwxr-xr-xhttemplate/search/cust_pkg.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
index dbd346dba..df1d7e589 100755
--- a/httemplate/search/cust_pkg.cgi
+++ b/httemplate/search/cust_pkg.cgi
@@ -203,6 +203,8 @@ my %disable = (
foreach my $field (qw( setup last_bill bill adjourn susp expire contract_end change_date cancel active )) {
+ $search_hash{$field.'_null'} = scalar( $cgi->param($field.'_null') );
+
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi, $field);
next if $beginning == 0 && $ending == 4294967295