From f9458b9ef0401e7b97700a6e837b17fcfffa27fa Mon Sep 17 00:00:00 2001 From: Bertocq Date: Mon, 23 Oct 2017 19:09:57 +0200 Subject: [PATCH] Show booth associated to current/recounting/incoming polls on shift management admin panel --- app/models/poll/booth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/poll/booth.rb b/app/models/poll/booth.rb index 07e7d2456..b9cba45b1 100644 --- a/app/models/poll/booth.rb +++ b/app/models/poll/booth.rb @@ -12,7 +12,7 @@ class Poll end def self.available - where(polls: { id: Poll.current_or_incoming }).includes(:polls) + where(polls: { id: Poll.current_or_recounting_or_incoming }).includes(:polls) end def assignment_on_poll(poll)