removed postdate filter

This commit is contained in:
Harry Bomrah 2015-10-08 17:15:57 +08:00
parent ce15f93d22
commit e5067be77f
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class AnnouncementsController < ApplicationController
display = "hide"
end
anns = anns.concat(feeds_anns)
sorted = anns.sort{ |k,v| v["postdate"] <=> k["postdate"] }
# sorted = anns.sort{ |k,v| v["postdate"] <=> k["postdate"] }
{
"announcements" => sorted,
"extras" => {