Leaderboards corrected and fixes
This commit is contained in:
parent
4a5e7328f5
commit
c6726682d4
8 changed files with 28 additions and 27 deletions
|
@ -73,7 +73,7 @@ sub run {
|
|||
seller_id => $organisations[int(rand($#organisations))]->organisation_id,
|
||||
value => int(rand(9999)) / 100,
|
||||
proof_image => 'a',
|
||||
submitted_at => $dtf->format_datetime($datetime->clone->add( minutes => int(rand(1440)) )),
|
||||
purchase_time => $dtf->format_datetime($datetime->clone->add( minutes => int(rand(1440)) )),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ sub search_between {
|
|||
|
||||
my $dtf = $self->result_source->schema->storage->datetime_parser;
|
||||
return $self->search({
|
||||
submitted_at => {
|
||||
purchase_time => {
|
||||
-between => [
|
||||
$dtf->format_datetime($from),
|
||||
$dtf->format_datetime($to),
|
||||
|
|
Reference in a new issue