Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-12 17:09:58 +08:00
parent 460d7fc09f
commit 1ec3f6ad64
1 changed files with 3 additions and 3 deletions

View File

@ -17,8 +17,7 @@ class PersonalJournalsController < ApplicationController
else
fields_to_show = [
"year",
"paper_title",
"authors"
"paper_title"
]
end
journal_paper_list = []
@ -61,7 +60,8 @@ class PersonalJournalsController < ApplicationController
"extras" => {"widget-title" => t("module_name.journal_paper")},
"total_pages" => journal_papers.total_pages,
"all_choice" => fields_to_show,
"123" => journal_papers
"123" => journal_papers,
"default_choice" => "paper_title"
}
end