From 4733a77afaf5882d530db4493d89037a84d1f5ef Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 11 Apr 2016 16:40:23 +0800 Subject: [PATCH] reverted to non empty title --- app/controllers/announcement_feeds_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/announcement_feeds_controller.rb b/app/controllers/announcement_feeds_controller.rb index a0075b7..6bee6c4 100644 --- a/app/controllers/announcement_feeds_controller.rb +++ b/app/controllers/announcement_feeds_controller.rb @@ -68,7 +68,7 @@ class AnnouncementFeedsController < ApplicationController if !bf.nil? tags = bf.tag_ids if !tags.empty? - announcements = Bulletin.where(:title.ne => "").can_display.is_approved.filter_by_tags(tags) + announcements = Bulletin.all.can_display.is_approved.filter_by_tags(tags) else announcements = [] end