Commit 6a263233 authored by Alper Akgun's avatar Alper Akgun

Remove due_date_order_desc scope

parent bff6c914
......@@ -56,7 +56,6 @@ module EE
before_destroy :check_if_can_be_destroyed
scope :due_date_order_asc, -> { order(:due_date) }
scope :due_date_order_desc, -> { order(due_date: :desc) }
scope :upcoming, -> { with_state(:upcoming) }
scope :current, -> { with_state(:current) }
scope :closed, -> { with_state(:closed) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment