diff options
author | Brett Walker <bwalker@gitlab.com> | 2019-07-09 17:34:44 -0500 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2019-07-22 10:48:46 -0500 |
commit | b0eafaaca10ce291490ee8b69cae0ce7592c1694 (patch) | |
tree | ec8e0534c49c13c8fad958fcbe5f4e9d5496c3ce /app/models/issue.rb | |
parent | 8073b0554fc8f7dddc250025aaf5cedd09f423cb (diff) | |
download | gitlab-ce-b0eafaaca10ce291490ee8b69cae0ce7592c1694.tar.gz |
Add index for issues on relative position, projectbw-add-index-for-relative-position
and state
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 12d30389910..8c5dd5e382e 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -131,7 +131,7 @@ class Issue < ApplicationRecord when 'due_date' then order_due_date_asc when 'due_date_asc' then order_due_date_asc when 'due_date_desc' then order_due_date_desc - when 'relative_position' then order_relative_position_asc + when 'relative_position' then order_relative_position_asc.with_order_id_desc else super end |