This commit is contained in:
bohung committed 2021-05-11 10:14:49 +08:00
1 parent a4ef044f7f
commit e91fe1814e
1 file changed
+3
+3
View File
@@ -201,6 +201,9 @@ module AnnouncementsHelper
tags = page.tags
tags = params[:tags] if params[:tags].present?
categories = params['category']=='all' ? (page.categories || []) : (Array(params['category']) rescue (page.categories || []))
if params['category'].present?
tags = ["all"]
end
end
if !params["source"].present?
if @type == "show_widget"