Compare commits

..

2 Commits

Author SHA1 Message Date
邱博亞 fd4555a8d0 Add notify remote. 2024-09-16 19:39:12 +08:00
邱博亞 ab902a8c04 Fix feed. 2024-09-16 19:39:12 +08:00
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ class EventNewsFeedsController < ApplicationController
tags = @bf.tag_ids
if !tags.empty?
@event_news = EventNews.can_display_and_sorted.is_approved.filter_by_tags(tags)
else
@event_news = EventNews.can_display_and_sorted.is_approved
end
categories = @bf.category_ids
if !categories.empty?