From 1295cb50e9e06e980f2b10939886fe5389d080cf Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 14 Aug 2019 09:38:02 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 8c4d976..8e74986 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -101,11 +101,11 @@ class PersonalJournalsController < ApplicationController "extras" => {"widget-title" => t("module_name.journal_paper"), "url" => "/"+params[:locale]+params[:url], "select_text" => select_text, - "search_text" => search_text, - "selected" => params[:selectbox], + "search_text" => search_text, "search_value" => params[:keywords]}, "total_pages" => journal_papers_total_pages, - "choice" => choice + "choice" => choice, + "selected" => [{"value" => params[:selectbox]}] } end