BigW Consortium Gitlab

Commit c34288fa by Dmitriy Zaporozhets

Override Issue opened scope. Now reopened issues also included

parent 546d7d44
......@@ -54,4 +54,7 @@ class Issue < ActiveRecord::Base
state :closed
end
# Both open and reopened issues should be listed as opened
scope :opened, -> { with_state(:opened, :reopened) }
end
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