now without title wont show
This commit is contained in:
parent
63e3e78dba
commit
0d14ffa23e
|
@ -68,7 +68,7 @@ class AnnouncementFeedsController < ApplicationController
|
|||
if !bf.nil?
|
||||
tags = bf.tag_ids
|
||||
if !tags.empty?
|
||||
announcements = Bulletin.can_display.is_approved.filter_by_tags(tags)
|
||||
announcements = Bulletin.where(:title.ne => "").can_display.is_approved.filter_by_tags(tags)
|
||||
else
|
||||
announcements = []
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue