Remove question fields from speaker statistics

This commit is contained in:
Henne Vogelsang 2014-03-04 10:41:38 +01:00
parent 5b05ffbd56
commit 04e06ac251

View file

@ -19,7 +19,7 @@ class Admin::StatsController < ApplicationController
@speakers = Person.joins(:events).where("events.conference_id = ? AND events.state LIKE ?", @conference.id, 'confirmed').uniq
@speaker_fields_person = %w[name email affiliation]
@speaker_fields_reg = %w[with_partner need_access other_needs diet arrival departure]
@speaker_fields_reg = %w[other_needs diet arrival departure]
@supporter_levels = @conference.supporter_levels
@tickets = @conference.registrations.joins(:supporter_registration => :supporter_level)
@ -74,4 +74,4 @@ class Admin::StatsController < ApplicationController
helper_method :speaker_diet
helper_method :diet_count
helper_method :social_event_count
end
end