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
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue