Update personal_journals_controller.rb
This commit is contained in:
parent
1b4f589d41
commit
978efa48c9
|
@ -26,6 +26,11 @@ class PersonalJournalsController < ApplicationController
|
|||
journal_papers_temp = Mongoid::Sessions.default[:journal_papers].find().take(journal_papers_count)
|
||||
journal_papers_show = journal_papers_temp.select {|value| value[params[:selectbox]].include? params[:keywords]}
|
||||
{
|
||||
"journal_papers" => journal_paper_list,
|
||||
"headers" => "headers",
|
||||
"extras" => {"widget-title" => "module_name.journal_paper"},
|
||||
"total_pages" => 1
|
||||
"choice" => 1
|
||||
"all" => journal_papers_show
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue