fix payment amount search, RT#34471
[freeside.git] / httemplate / search / elements / cust_pay_or_refund.html
index 699266d..0e3fce3 100755 (executable)
@@ -437,7 +437,7 @@ if ( $cgi->param('magic') ) {
                     "$table.void_date <= $v_ending";
     }
 
-    push @search, FS::UI::Web::parse_lt_gt($cgi, "$table.$amount_field" );
+    push @search, FS::UI::Web::parse_lt_gt($cgi, $amount_field, $table);
 
     $orderby = '_date';