fix error
This commit is contained in:
parent
fe8c638f41
commit
fb5c9f6379
|
@ -33,7 +33,7 @@ class Admin::WritingConferencesController < OrbitMemberController
|
|||
end
|
||||
if params['mode']!='simple'
|
||||
@writing_conferences.each do |key,value|
|
||||
@writing_conferences[key] = value.group_by{|v| [get_level_type(v),get_author_type(v),get_paper_type(v),get_publication_date(v)]}
|
||||
@writing_conferences[key] = value.group_by{|v| [get_sponsor(v),get_author_type(v),get_paper_type(v),get_publication_date(v)]}
|
||||
@writing_conferences[key].each do |key1,value1|
|
||||
if value1.length<=1
|
||||
@writing_conferences[key].delete key1
|
||||
|
@ -138,6 +138,7 @@ class Admin::WritingConferencesController < OrbitMemberController
|
|||
|
||||
def update
|
||||
@member = get_member(@writing_conference)
|
||||
conference_params['member_profile_id'] = params[:author_members]
|
||||
@writing_conference.update_attributes(conference_params)
|
||||
@writing_conference.save
|
||||
if params[:desktop] == "true"
|
||||
|
|
Loading…
Reference in New Issue