diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 32b22b1..6d9700d 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -76,7 +76,7 @@ class PersonalJournalsController < ApplicationController journal_papers1 = Mongoid::Sessions.default[:journal_papers].find() journal_papers_count = journal_papers1.count journal_papers_temp = journal_papers1.take(journal_papers_count) - journal_papers_show = journal_papers_temp.select {|value| value["paper_title"].include? "1"} + journal_papers_show = journal_papers_temp.select {|value| value["paper_title"][OrbitHelper.params[:locale]].include? "1"} { "journal_papers" => journal_paper_list, "headers" => headers,