only get registrations with answered question
This commit is contained in:
parent
d3e0066f88
commit
f420b10732
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ module Admin
|
|||
end
|
||||
|
||||
def show
|
||||
@registrations = @conference.registrations.joins(:qanswers).uniq
|
||||
@registrations = @conference.registrations.joins(:qanswers).where(qanswers: { question: @question })
|
||||
end
|
||||
|
||||
def new
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue