allows poll booth recounts only for voting days
This commit is contained in:
@@ -6,6 +6,7 @@ class Officing::RecountsController < Officing::BaseController
|
||||
@officer_assignments = ::Poll::OfficerAssignment.
|
||||
includes(:recount, booth_assignment: :booth).
|
||||
joins(:booth_assignment).
|
||||
voting_days.
|
||||
where(id: current_user.poll_officer.officer_assignment_ids).
|
||||
where("poll_booth_assignments.poll_id = ?", @poll.id).
|
||||
order(date: :asc)
|
||||
|
||||
Reference in New Issue
Block a user