diff options
Diffstat (limited to 'app/workers/issue_placement_worker.rb')
-rw-r--r-- | app/workers/issue_placement_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/issue_placement_worker.rb b/app/workers/issue_placement_worker.rb index e0c4502ed1a..22e2a8e95f4 100644 --- a/app/workers/issue_placement_worker.rb +++ b/app/workers/issue_placement_worker.rb @@ -31,7 +31,7 @@ class IssuePlacementWorker # while preserving creation order. to_place = Issue .relative_positioning_query_base(issue) - .where(relative_position: nil) + .with_null_relative_position .order({ created_at: :asc }, { id: :asc }) .limit(QUERY_LIMIT + 1) .to_a |