diff --git a/app/helpers/announcements_helper.rb b/app/helpers/announcements_helper.rb index c1305b8..9d2edfc 100644 --- a/app/helpers/announcements_helper.rb +++ b/app/helpers/announcements_helper.rb @@ -199,6 +199,7 @@ module AnnouncementsHelper tags = page.tags tags = params[:tags] if params[:tags].present? categories = params['category']=='all' ? (page.categories || []) : ([Category.find(params['category'])] rescue (page.categories || [])) + categories = ["all"] if params[:tags].present? end if !params["source"].present? if @type == "show_widget"