sort conference and type
This commit is contained in:
1 parent
522e0481e1
commit
6f599bb95d
1 file changed
+1
+1
@@ -75,6 +75,7 @@ class Panel::PersonalConference::Desktop::ConferencePagesController < Applicatio
|
||||
def conference_type
|
||||
conference_types = ConferencePaperType.all
|
||||
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|
|
||||
[ j.conference_title,
|
||||
j.conference_paper_type_ids.map do |type|
|
||||
|
||||
Reference in new issue
Block a user