small fix
This commit is contained in:
parent
9e5d5cf095
commit
c319e600a3
|
@ -18,7 +18,7 @@ class AnnouncementsController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
if OrbitHelper.page_number == 1 or OrbitHelper.page_number.nil? && !params["source"].present?
|
||||
if (OrbitHelper.page_number == 1 or OrbitHelper.page_number.nil?) && !params["source"].present?
|
||||
top_anns = Bulletin.where(:title.ne => "",:is_preview.in=>[false,nil], :is_top => true).and(:title.ne => nil).can_display.filter_by_categories([],false).to_a
|
||||
end
|
||||
if !feeds_anns.blank?
|
||||
|
|
Loading…
Reference in New Issue