From 68aa8f8b814e8d4e6be2b23af2767f7959b15466 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 14 Aug 2019 09:09:02 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 3046040..c8d8c3f 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -92,6 +92,7 @@ class PersonalJournalsController < ApplicationController choice_show.unshift(choice_default) choice_show=choice_show.map{|value| {"choice_show" => value}} choice=choice_value.zip(choice_show) + choice=choice.map{|value| value[0].merge(value[1])} select_text = params[:locale]!='en' ? "搜尋類別:" : "search class:" search_text = params[:locale]!='en' ? "關鍵字搜尋:" : "word to search:" {