diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-20 00:53:20 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-20 00:53:20 -0700 |
commit | 60bf502bf15b95c870a8466011a6f91eb18759a9 (patch) | |
tree | 7d22d519840863746e1b14543ca851a154627e8c /app | |
parent | 1845429268364e75bffdeb1075de8f1606e157ec (diff) | |
parent | 69fd4763d2d239877c46b0fa6be894f1338fc4e3 (diff) | |
download | gitlab-ce-60bf502bf15b95c870a8466011a6f91eb18759a9.tar.gz |
Merge pull request #698 from Sindacious/master
Display Milestones without a due date as active
Diffstat (limited to 'app')
-rw-r--r-- | app/models/milestone.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/milestone.rb b/app/models/milestone.rb index 20bc2486e2f..87e9d1db588 100644 --- a/app/models/milestone.rb +++ b/app/models/milestone.rb @@ -6,7 +6,7 @@ class Milestone < ActiveRecord::Base validates_presence_of :title def self.active - where("due_date > ? ", Date.today) + where("due_date > ? OR due_date IS NULL", Date.today) end def percent_complete |