This commit is contained in:
BoHung Chiu 2020-10-05 22:11:17 +08:00
parent fcce55f163
commit 19ea23c177
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ class AnnouncementsController < ApplicationController
def index
Bulletin.remove_expired_status
sorted,total_pages = get_sorted_annc
sorted = [] if sorted.nil?
anns = sorted.collect do |a|
if a["source-site"].blank?
statuses = a.statuses_with_classname.collect do |status|