diff options
Diffstat (limited to 'app/finders/issues_finder.rb')
-rw-r--r-- | app/finders/issues_finder.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/finders/issues_finder.rb b/app/finders/issues_finder.rb index 32be5bee0db..5c9010ee3e0 100644 --- a/app/finders/issues_finder.rb +++ b/app/finders/issues_finder.rb @@ -97,6 +97,8 @@ class IssuesFinder < IssuableFinder items.due_between(Date.today.beginning_of_month, Date.today.end_of_month) elsif params.filter_by_due_next_month_and_previous_two_weeks? items.due_between(Date.today - 2.weeks, (Date.today + 1.month).end_of_month) + else + items.none end end |