diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-05-06 12:42:29 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-05-24 16:49:15 -0400 |
commit | 45e516b8174c174951a97438c83fd659782e2347 (patch) | |
tree | 195b9cbd544e58535e37dfd97caa0fdd863f79e0 /app | |
parent | 3b2223f11676831f9e995095de13926e1a39b462 (diff) | |
download | gitlab-ce-45e516b8174c174951a97438c83fd659782e2347.tar.gz |
Fix bug when ordering by milestone due date and filtering by milestone
Diffstat (limited to 'app')
-rw-r--r-- | app/models/concerns/issuable.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb index ce73fe7035e..d34308204e5 100644 --- a/app/models/concerns/issuable.rb +++ b/app/models/concerns/issuable.rb @@ -44,7 +44,6 @@ module Issuable scope :join_project, -> { joins(:project) } scope :references_project, -> { references(:project) } scope :non_archived, -> { join_project.where(projects: { archived: false }) } - scope :outer_join_milestone, -> { joins("LEFT OUTER JOIN milestones ON milestones.id = #{table_name}.milestone_id") } delegate :name, :email, |