Include last day of poll in range for recount and scrutiny on officing panel
This commit is contained in:
@@ -7,7 +7,9 @@ class Officing::PollsController < Officing::BaseController
|
||||
|
||||
def final
|
||||
@polls = if current_user.poll_officer?
|
||||
current_user.poll_officer.final_days_assigned_polls.select {|poll| poll.ends_at > 2.weeks.ago && poll.expired?}
|
||||
current_user.poll_officer.final_days_assigned_polls.select do |poll|
|
||||
poll.ends_at > 2.weeks.ago && poll.expired? || poll.ends_at.today?
|
||||
end
|
||||
else
|
||||
[]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user