From b700749a2f18a4c6078210dc30b3b2feec83bbf3 Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 15 Aug 2019 09:42:05 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 2158c7f..dc42a35 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -43,7 +43,7 @@ class PersonalJournalsController < ApplicationController when "language" journal_papers_show = journal_papers_temp.select {|value| search_all_words((!value.language.nil? ? t("#{value.language}") : ""),params[:keywords])} else - journal_papers_show = jjournal_papers_temp.select {|value| search_all_words(value.send(params[:selectbox]).to_s,params[:keywords])} + journal_papers_show = journal_papers_temp.select {|value| search_all_words(value.send(params[:selectbox]).to_s,params[:keywords])} end if params[:page_no].nil? page_to_show = 1