add nickname and affiliation in registrations list

This commit is contained in:
differentreality 2013-07-15 06:45:32 +03:00
parent e4cc6f158f
commit 8f34baecf6

View file

@ -10,10 +10,10 @@ class Admin::RegistrationsController < ApplicationController
people.last_name AS last_name, people.last_name AS last_name,
people.first_name AS first_name, people.first_name AS first_name,
people.public_name AS public_name, people.public_name AS public_name,
people.email AS email") people.email AS email, people.company as affiliation, people.irc_nickname as nickname")
@attended = @conference.registrations.where("attended = ?", true) @attended = @conference.registrations.where("attended = ?", true)
@headers = %w[name email social_events attending_with_partner need_access other_needs arrival departure attended] @headers = %w[name email nickname affiliation social_events attending_with_partner need_access other_needs arrival departure attended]
end end
def change_field def change_field