diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 8ec9caa79..eebb0789b 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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 diff --git a/lib/WebGUI/Search.pm b/lib/WebGUI/Search.pm index 745ca56fb..efa838007 100644 --- a/lib/WebGUI/Search.pm +++ b/lib/WebGUI/Search.pm @@ -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); }