removed postdate filter
This commit is contained in:
parent
ce15f93d22
commit
e5067be77f
|
@ -43,7 +43,7 @@ class AnnouncementsController < ApplicationController
|
||||||
display = "hide"
|
display = "hide"
|
||||||
end
|
end
|
||||||
anns = anns.concat(feeds_anns)
|
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,
|
"announcements" => sorted,
|
||||||
"extras" => {
|
"extras" => {
|
||||||
|
|
Loading…
Reference in New Issue