WebGUI::Search epoch maximum range error (#10288)
This commit is contained in:
parent
bd0d09db5a
commit
8d12d12db0
2 changed files with 3 additions and 2 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
- fixed Two sets of delete buttons for photos in the Story.
|
- fixed Two sets of delete buttons for photos in the Story.
|
||||||
- fixed #9920: Survey: cannot add questions in IE
|
- fixed #9920: Survey: cannot add questions in IE
|
||||||
- fixed #10449: Undefined template
|
- fixed #10449: Undefined template
|
||||||
|
- fixed: WebGUI::Search epoch maximum range error (#10288)
|
||||||
- fixed #10365: Head tags do not work "Use Packed Head Tags".
|
- fixed #10365: Head tags do not work "Use Packed Head Tags".
|
||||||
- fixed #9927: Survey - verbatim
|
- fixed #9927: Survey - verbatim
|
||||||
- fixed #10352: Deleting a user does not clean up any address books
|
- fixed #10352: Deleting a user does not clean up any address books
|
||||||
|
|
|
||||||
|
|
@ -424,13 +424,13 @@ sub search {
|
||||||
}
|
}
|
||||||
if ($rules->{creationDate}) {
|
if ($rules->{creationDate}) {
|
||||||
my $start = $rules->{creationDate}{start} || 0;
|
my $start = $rules->{creationDate}{start} || 0;
|
||||||
my $end = $rules->{creationDate}{end} || 9999999999999999999999;
|
my $end = $rules->{creationDate}{end} || "9223372036854775807";
|
||||||
push(@clauses, "creationDate between ? and ?");
|
push(@clauses, "creationDate between ? and ?");
|
||||||
push(@params, $start, $end);
|
push(@params, $start, $end);
|
||||||
}
|
}
|
||||||
if ($rules->{revisionDate}) {
|
if ($rules->{revisionDate}) {
|
||||||
my $start = $rules->{revisionDate}{start} || 0;
|
my $start = $rules->{revisionDate}{start} || 0;
|
||||||
my $end = $rules->{revisionDate}{end} || 9999999999999999999999;
|
my $end = $rules->{revisionDate}{end} || "9223372036854775807";
|
||||||
push(@clauses, "revisionDate between ? and ?");
|
push(@clauses, "revisionDate between ? and ?");
|
||||||
push(@params, $start, $end);
|
push(@params, $start, $end);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue