BURs: reduce autorejection timeout from 60 days to 45 days.

This commit is contained in:
evazion
2021-08-15 04:51:48 -05:00
parent 8f24e789b6
commit b4dc7487ee
4 changed files with 23 additions and 16 deletions

View File

@@ -21,8 +21,6 @@ class BulkUpdateRequest < ApplicationRecord
scope :approved, -> { where(status: "approved") }
scope :rejected, -> { where(status: "rejected") }
scope :has_topic, -> { where.not(forum_topic: nil) }
scope :expired, -> {where("created_at < ?", TagRelationship::EXPIRY.days.ago)}
scope :old, -> {where("created_at between ? and ?", TagRelationship::EXPIRY.days.ago, TagRelationship::EXPIRY_WARNING.days.ago)}
module SearchMethods
def default_order