WebGUI::Search epoch maximum range error (#10288)

This commit is contained in:
JT Smith 2009-06-03 15:14:48 +00:00
parent bd0d09db5a
commit 8d12d12db0
2 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,7 @@
- fixed Two sets of delete buttons for photos in the Story.
- fixed #9920: Survey: cannot add questions in IE
- fixed #10449: Undefined template
- fixed: WebGUI::Search epoch maximum range error (#10288)
- fixed #10365: Head tags do not work "Use Packed Head Tags".
- fixed #9927: Survey - verbatim
- fixed #10352: Deleting a user does not clean up any address books

View file

@ -424,13 +424,13 @@ sub search {
}
if ($rules->{creationDate}) {
my $start = $rules->{creationDate}{start} || 0;
my $end = $rules->{creationDate}{end} || 9999999999999999999999;
my $end = $rules->{creationDate}{end} || "9223372036854775807";
push(@clauses, "creationDate between ? and ?");
push(@params, $start, $end);
}
if ($rules->{revisionDate}) {
my $start = $rules->{revisionDate}{start} || 0;
my $end = $rules->{revisionDate}{end} || 9999999999999999999999;
my $end = $rules->{revisionDate}{end} || "9223372036854775807";
push(@clauses, "revisionDate between ? and ?");
push(@params, $start, $end);
}