From 003d982cffb9019e7af73ee21f890798bace5e36 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 14 Aug 2019 09:20:13 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index c8d8c3f..8c4d976 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -98,7 +98,12 @@ class PersonalJournalsController < ApplicationController { "journal_papers" => journal_paper_list, "headers" => headers, - "extras" => {"widget-title" => t("module_name.journal_paper"), "url" => "/"+params[:locale]+params[:url], "select_text" => select_text, "search_text" => search_text}, + "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_value" => params[:keywords]}, "total_pages" => journal_papers_total_pages, "choice" => choice }