sort conference and type
This commit is contained in:
parent
522e0481e1
commit
6f599bb95d
|
@ -75,6 +75,7 @@ class Panel::PersonalConference::Desktop::ConferencePagesController < Applicatio
|
||||||
def conference_type
|
def conference_type
|
||||||
conference_types = ConferencePaperType.all
|
conference_types = ConferencePaperType.all
|
||||||
all_conference_lists = WritingConference.where(create_user_id: current_user.id)
|
all_conference_lists = WritingConference.where(create_user_id: current_user.id)
|
||||||
|
all_conference_lists = all_conference_lists.asc(:conference_title)
|
||||||
all_conference_lists = all_conference_lists.map do |j|
|
all_conference_lists = all_conference_lists.map do |j|
|
||||||
[ j.conference_title,
|
[ j.conference_title,
|
||||||
j.conference_paper_type_ids.map do |type|
|
j.conference_paper_type_ids.map do |type|
|
||||||
|
|
Loading…
Reference in New Issue