diff --git a/app/models/issue.rb b/app/models/issue.rb index 6b4ca82..690519e 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -3,7 +3,7 @@ class Issue < ApplicationRecord scope :label, ->(labels) { where("labels && ARRAY[?]::varchar[]", labels) } scope :openclimateaction, -> { label(["open climate action", 'help wanted', 'good first issue','hacktoberfest']) } - scope :good_first_issue, -> { openclimateaction.where(pull_request: false, state: 'open').where('issues.created_at > ?', 1.year.ago) } + scope :good_first_issue, -> { openclimateaction.where(pull_request: false, state: 'open').where('issues.created_at > ?', 2.years.ago) } def old_labels JSON.parse(labels_raw)