diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-04-22 17:37:10 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-04-22 17:37:10 -0700 |
| commit | bf6644780bf1036f5eca4d191caf7c141447dd47 (patch) | |
| tree | ddc95e78662d5de71ecf17d5346d944df6ecc368 | |
| parent | 36f85ba5d876838e08f38101019f1bbbe45195d4 (diff) | |
backport "allow open pay_batches to be included in search" to 2.3, RT#22708 (fallout from RT#21879)
| -rwxr-xr-x | httemplate/search/pay_batch.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/pay_batch.cgi b/httemplate/search/pay_batch.cgi index 832682647..29a612568 100755 --- a/httemplate/search/pay_batch.cgi +++ b/httemplate/search/pay_batch.cgi @@ -101,8 +101,8 @@ my($begin, $end) = ( '', '' ); my @where; my($beginning,$ending) = FS::UI::Web::parse_beginning_ending($cgi); -push @where, "download >= $beginning", - "download <= $ending"; +push @where, "( (download >= $beginning AND download <= $ending)". + ' OR download IS NULL )'; my @status; if ( $cgi->param('open') ) { |
