diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 9f9b8f4..607eb2c 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -322,7 +322,7 @@ class AnnouncementsController < ApplicationController read_more_text = I18n.t("announcement.more") if cats.count == 1 && cats[0] != "all" begin - read_more_text = I18n.t("announcement.more_") + cats_translations[cats[0]] + read_more_text = I18n.t("announcement.more_") + ((all_tags.count == 1 && all_tags[0] != 'all') ? tags_translations[tags[0]] : cats_translations[cats[0]]) rescue nil end @@ -374,9 +374,9 @@ class AnnouncementsController < ApplicationController " end - read_more_url = "/#{I18n.locale.to_s + page.url}" rescue "" - read_more_url = read_more_url + "?" + {"category"=>all_cats}.to_param if read_more_url != "" if @tab_option == 0 + read_more_url = "/#{I18n.locale.to_s + page.url}" rescue "" + read_more_url = read_more_url + "?" + {"category"=>all_cats,"tags"=>all_tags}.to_param if read_more_url != "" extra_after_html += "