Skip to content

Commit

Permalink
pkp#7709 Updated heuristics, to flag submissions as imported, to igno…
Browse files Browse the repository at this point in the history
…re submissions submitted and published in the same day
  • Loading branch information
jonasraoni committed Nov 25, 2022
1 parent 088a29c commit 019c652
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ protected function _getObject()
})
->where(function ($q) {
$q->whereNull('pi.date_published')
->orWhere('s.date_submitted', '<', DB::raw('pi.date_published'));
->orWhere('s.date_submitted', '<=', DB::raw('pi.date_published'));
});

Hook::call('Stats::editorial::queryObject', [&$q, $this]);
Expand Down

0 comments on commit 019c652

Please sign in to comment.