[freeside-commits] freeside/httemplate/search cdr.html,1.6,1.7
Ivan,,,
ivan at wavetail.420.am
Mon Oct 29 03:31:33 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv24240/httemplate/search
Modified Files:
cdr.html
Log Message:
mysql me 1.9 more times
Index: cdr.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cdr.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cdr.html 30 Sep 2007 00:26:03 -0000 1.6
+++ cdr.html 29 Oct 2007 10:31:31 -0000 1.7
@@ -48,10 +48,12 @@
# dates
###
+my $str2time_sql = str2time_sql;
+
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
push @search,
-my @dsearch = ( "extract(epoch from calldate) >= $beginning ",
- "extract(epoch from calldate) <= $ending"
+my @dsearch = ( "$str2time calldate) >= $beginning ",
+ "$str2time calldate) <= $ending"
);
push @search, @dsearch;
push @qsearch, @search;
More information about the freeside-commits
mailing list