[freeside-commits] branch FREESIDE_2_3_BRANCH updated. bf6644780bf1036f5eca4d191caf7c141447dd47

Ivan ivan at 420.am
Mon Apr 22 17:37:18 PDT 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  bf6644780bf1036f5eca4d191caf7c141447dd47 (commit)
      from  36f85ba5d876838e08f38101019f1bbbe45195d4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bf6644780bf1036f5eca4d191caf7c141447dd47
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Apr 22 17:37:10 2013 -0700

    backport "allow open pay_batches to be included in search" to 2.3, RT#22708 (fallout from RT#21879)

diff --git a/httemplate/search/pay_batch.cgi b/httemplate/search/pay_batch.cgi
index 8326826..29a6125 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') ) {

-----------------------------------------------------------------------

Summary of changes:
 httemplate/search/pay_batch.cgi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list